public class BundleContextProvider extends AbstractContextProvider implements BundleProvider
Handles deploying OSGi bundles that define a context xml file for configuring them.
| Modifier and Type | Class and Description |
|---|---|
class |
BundleContextProvider.ContextBundleTracker |
AbstractContextProvider.OSGiAppAbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.Listener| Constructor and Description |
|---|
BundleContextProvider(ServerInstanceWrapper wrapper) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
bundleAdded(org.osgi.framework.Bundle bundle) |
boolean |
bundleRemoved(org.osgi.framework.Bundle bundle)
Bundle has been removed.
|
protected void |
doStart() |
protected void |
doStop() |
createContextHandler, getDeploymentManager, getServerInstanceWrapper, setDeploymentManageraddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, start, stop, stoppublic BundleContextProvider(ServerInstanceWrapper wrapper)
protected void doStart()
throws java.lang.Exception
doStart in class AbstractLifeCyclejava.lang.Exceptionprotected void doStop()
throws java.lang.Exception
doStop in class AbstractLifeCyclejava.lang.Exceptionpublic boolean bundleAdded(org.osgi.framework.Bundle bundle)
throws java.lang.Exception
bundleAdded in interface BundleProviderjava.lang.Exceptionpublic boolean bundleRemoved(org.osgi.framework.Bundle bundle)
throws java.lang.Exception
bundleRemoved in interface BundleProviderbundle - the bundlejava.lang.ExceptionCopyright © 1995–2022 Webtide. All rights reserved.