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.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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, start, stop, stop
public BundleContextProvider(ServerInstanceWrapper wrapper)
protected void doStart() throws java.lang.Exception
doStart
in class AbstractLifeCycle
java.lang.Exception
protected void doStop() throws java.lang.Exception
doStop
in class AbstractLifeCycle
java.lang.Exception
public boolean bundleAdded(org.osgi.framework.Bundle bundle) throws java.lang.Exception
bundleAdded
in interface BundleProvider
java.lang.Exception
public boolean bundleRemoved(org.osgi.framework.Bundle bundle) throws java.lang.Exception
bundleRemoved
in interface BundleProvider
bundle
- the bundlejava.lang.Exception
Copyright © 1995–2023 Webtide. All rights reserved.