class ListListenerAdapter extends java.lang.Object implements OsgiBundleApplicationContextListener<OsgiBundleApplicationContextEvent>, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.Class<? extends OsgiBundleApplicationContextListener>,java.lang.Class<? extends OsgiBundleApplicationContextEvent>> |
eventCache |
private org.osgi.util.tracker.ServiceTracker |
tracker |
| Constructor and Description |
|---|
ListListenerAdapter(org.osgi.framework.BundleContext bundleContext)
Constructs a new
ListListenerAdapter instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
void |
onOsgiApplicationEvent(OsgiBundleApplicationContextEvent event)
Handles an OSGi application event.
|
private final org.osgi.util.tracker.ServiceTracker tracker
private final java.util.Map<java.lang.Class<? extends OsgiBundleApplicationContextListener>,java.lang.Class<? extends OsgiBundleApplicationContextEvent>> eventCache
public ListListenerAdapter(org.osgi.framework.BundleContext bundleContext)
ListListenerAdapter instance.listeners - public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic void destroy()
destroy in interface org.springframework.beans.factory.DisposableBeanpublic void onOsgiApplicationEvent(OsgiBundleApplicationContextEvent event)
OsgiBundleApplicationContextListeneronOsgiApplicationEvent in interface OsgiBundleApplicationContextListener<OsgiBundleApplicationContextEvent>event - OSGi application event