public class ServiceWebAppProvider extends AbstractWebAppProvider implements ServiceProvider
Modifier and Type | Class and Description |
---|---|
class |
ServiceWebAppProvider.ServiceApp
ServiceApp
|
AbstractWebAppProvider.OSGiApp
AbstractLifeCycle.AbstractLifeCycleListener
LifeCycle.Listener
__defaultConfigurations
Constructor and Description |
---|
ServiceWebAppProvider(ServerInstanceWrapper wrapper) |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart() |
protected void |
doStop() |
boolean |
serviceAdded(org.osgi.framework.ServiceReference serviceRef,
ContextHandler context)
A webapp that was deployed as an osgi service has been added,
and we want to deploy it.
|
boolean |
serviceRemoved(org.osgi.framework.ServiceReference serviceRef,
ContextHandler context) |
createContextHandler, getConfigurationClasses, getDefaultConfigurations, getDefaultsDescriptor, getDeploymentManager, getOriginId, getServerInstanceWrapper, getTldBundles, isExtract, isParentLoaderPriority, setConfigurationClasses, setDefaultConfigurations, setDefaultsDescriptor, setDeploymentManager, setExtract, setParentLoaderPriority, setServerInstanceWrapper, setTldBundles
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 ServiceWebAppProvider(ServerInstanceWrapper wrapper)
wrapper
- public boolean serviceAdded(org.osgi.framework.ServiceReference serviceRef, ContextHandler context)
serviceAdded
in interface ServiceProvider
context
- the webapppublic boolean serviceRemoved(org.osgi.framework.ServiceReference serviceRef, ContextHandler context)
serviceRemoved
in interface ServiceProvider
context
- the webappprotected void doStart() throws Exception
doStart
in class AbstractLifeCycle
Exception
AbstractLifeCycle.doStart()
protected void doStop() throws Exception
doStop
in class AbstractLifeCycle
Exception
AbstractLifeCycle.doStop()
Copyright © 1995-2015 Webtide. All Rights Reserved.