public class BlueprintLoaderListener extends ContextLoaderListener
| Modifier and Type | Field and Description |
|---|---|
private org.osgi.framework.Bundle |
bundle |
private BlueprintContainerProcessor |
contextProcessor |
private EventAdminDispatcher |
dispatcher |
private BlueprintListenerManager |
listenerManager |
private TypeCompatibilityChecker |
typeChecker |
log| Constructor and Description |
|---|
BlueprintLoaderListener() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addApplicationListener(OsgiBundleApplicationContextEventMulticaster multicaster) |
protected ApplicationContextConfiguration |
createContextConfig(org.osgi.framework.Bundle bundle) |
protected ApplicationContextConfigurationFactory |
createContextConfigFactory() |
protected OsgiContextProcessor |
createContextProcessor() |
protected java.lang.String |
getManagedBundleExtenderVersionHeader() |
protected TypeCompatibilityChecker |
getTypeCompatibilityChecker() |
protected ExtenderConfiguration |
initExtenderConfiguration(org.osgi.framework.BundleContext bundleContext) |
void |
start(org.osgi.framework.BundleContext context)
Called by OSGi when this bundle is started.
|
void |
stop(org.osgi.framework.BundleContext context)
Called by OSGi when this bundled is stopped.
|
initListenerService, initNamespaceHandlers, initStartedBundles, maybeAddNamespaceHandlerFor, maybeRemoveNameSpaceHandlerFor, shutdownprivate volatile EventAdminDispatcher dispatcher
private volatile BlueprintListenerManager listenerManager
private volatile org.osgi.framework.Bundle bundle
private volatile BlueprintContainerProcessor contextProcessor
private volatile TypeCompatibilityChecker typeChecker
public void start(org.osgi.framework.BundleContext context)
throws java.lang.Exception
ContextLoaderListenerstart in interface org.osgi.framework.BundleActivatorstart in class ContextLoaderListenerjava.lang.ExceptionBundleActivator.start(org.osgi.framework.BundleContext)public void stop(org.osgi.framework.BundleContext context)
throws java.lang.Exception
ContextLoaderListenerstop in interface org.osgi.framework.BundleActivatorstop in class ContextLoaderListenerjava.lang.ExceptionBundleActivator.stop(org.osgi.framework.BundleContext)protected ExtenderConfiguration initExtenderConfiguration(org.osgi.framework.BundleContext bundleContext)
initExtenderConfiguration in class ContextLoaderListenerprotected ApplicationContextConfigurationFactory createContextConfigFactory()
createContextConfigFactory in class ContextLoaderListenerprotected OsgiContextProcessor createContextProcessor()
createContextProcessor in class ContextLoaderListenerprotected TypeCompatibilityChecker getTypeCompatibilityChecker()
getTypeCompatibilityChecker in class ContextLoaderListenerprotected java.lang.String getManagedBundleExtenderVersionHeader()
getManagedBundleExtenderVersionHeader in class ContextLoaderListenerprotected void addApplicationListener(OsgiBundleApplicationContextEventMulticaster multicaster)
addApplicationListener in class ContextLoaderListenerprotected ApplicationContextConfiguration createContextConfig(org.osgi.framework.Bundle bundle)