public class BundleWebAppProvider extends AbstractWebAppProvider implements BundleProvider
A Jetty Provider that knows how to deploy a WebApp contained inside a Bundle.
Modifier and Type | Class and Description |
---|---|
class |
BundleWebAppProvider.WebAppTracker |
AbstractWebAppProvider.OSGiApp
AbstractLifeCycle.AbstractLifeCycleListener
LifeCycle.Listener
Constructor and Description |
---|
BundleWebAppProvider(ServerInstanceWrapper wrapper) |
Modifier and Type | Method and Description |
---|---|
boolean |
bundleAdded(org.osgi.framework.Bundle bundle)
A bundle has been added that could be a webapp
|
boolean |
bundleRemoved(org.osgi.framework.Bundle bundle)
Bundle has been removed.
|
protected void |
doStart() |
protected void |
doStop() |
createContextHandler, getConfigurationClasses, getDefaultsDescriptor, getDeploymentManager, getOriginId, getServerInstanceWrapper, getTldBundles, isExtract, isParentLoaderPriority, setConfigurationClasses, setDefaultsDescriptor, setDeploymentManager, setExtract, setParentLoaderPriority, setServerInstanceWrapper, setTldBundles
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 BundleWebAppProvider(ServerInstanceWrapper wrapper)
protected void doStart() throws java.lang.Exception
doStart
in class AbstractLifeCycle
java.lang.Exception
AbstractLifeCycle.doStart()
protected void doStop() throws java.lang.Exception
doStop
in class AbstractLifeCycle
java.lang.Exception
AbstractLifeCycle.doStop()
public boolean bundleAdded(org.osgi.framework.Bundle bundle) throws java.lang.Exception
bundleAdded
in interface BundleProvider
bundle
- the bundlejava.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.