public class BundleContextProvider extends AbstractContextProvider implements BundleProvider
Handles deploying OSGi bundles that define a context xml file for configuring them.
AbstractContextProvider.OSGiApp
AbstractLifeCycle.AbstractLifeCycleListener
LifeCycle.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, setDeploymentManager
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
public BundleContextProvider(ServerInstanceWrapper wrapper)
protected void doStart() throws Exception
doStart
in class AbstractLifeCycle
Exception
protected void doStop() throws Exception
doStop
in class AbstractLifeCycle
Exception
public boolean bundleAdded(org.osgi.framework.Bundle bundle) throws Exception
bundleAdded
in interface BundleProvider
Exception
public boolean bundleRemoved(org.osgi.framework.Bundle bundle) throws Exception
bundleRemoved
in interface BundleProvider
bundle
- the bundleException
Copyright © 1995-2015 Webtide. All Rights Reserved.