private abstract class ContextLoaderListener.BaseListener
extends java.lang.Object
implements org.osgi.framework.SynchronousBundleListener
ContextLoaderListener listeners.| Modifier and Type | Field and Description |
|---|---|
(package private) static int |
LAZY_ACTIVATION_EVENT_TYPE |
protected java.util.Map<org.osgi.framework.Bundle,java.lang.Object> |
lazyBundleCache
common cache used for tracking down bundles started lazily so they don't get processed twice (once when
started lazy, once when started fully)
|
protected org.apache.commons.logging.Log |
log |
private java.lang.Object |
VALUE
dummy value for the bundle cache
|
| Modifier | Constructor and Description |
|---|---|
private |
BaseListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
bundleChanged(org.osgi.framework.BundleEvent event)
A bundle has been started, stopped, resolved, or unresolved.
|
protected abstract void |
handleEvent(org.osgi.framework.BundleEvent event) |
protected boolean |
pop(org.osgi.framework.Bundle bundle) |
protected void |
push(org.osgi.framework.Bundle bundle) |
static final int LAZY_ACTIVATION_EVENT_TYPE
protected final org.apache.commons.logging.Log log
protected java.util.Map<org.osgi.framework.Bundle,java.lang.Object> lazyBundleCache
private final java.lang.Object VALUE
protected void push(org.osgi.framework.Bundle bundle)
protected boolean pop(org.osgi.framework.Bundle bundle)
public void bundleChanged(org.osgi.framework.BundleEvent event)
bundleChanged in interface org.osgi.framework.BundleListenerBundleListener.bundleChanged(org.osgi.framework.BundleEvent)protected abstract void handleEvent(org.osgi.framework.BundleEvent event)