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.ListenerFAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPING| 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, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stoppublic BundleContextProvider(ServerInstanceWrapper wrapper)
protected void doStart()
throws Exception
doStart in class AbstractLifeCycleExceptionprotected void doStop()
throws Exception
doStop in class AbstractLifeCycleExceptionpublic boolean bundleAdded(org.osgi.framework.Bundle bundle)
throws Exception
bundleAdded in interface BundleProviderExceptionpublic boolean bundleRemoved(org.osgi.framework.Bundle bundle)
throws Exception
bundleRemoved in interface BundleProviderbundle - the bundleExceptionCopyright © 1995–2017 Webtide. All rights reserved.