public class ServiceContextProvider extends AbstractContextProvider implements ServiceProvider
Modifier and Type | Class and Description |
---|---|
class |
ServiceContextProvider.ServiceApp
ServiceApp
|
AbstractContextProvider.OSGiApp
AbstractLifeCycle.AbstractLifeCycleListener
LifeCycle.Listener
Constructor and Description |
---|
ServiceContextProvider(ServerInstanceWrapper wrapper) |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart() |
protected void |
doStop() |
boolean |
serviceAdded(org.osgi.framework.ServiceReference serviceRef,
ContextHandler context) |
boolean |
serviceRemoved(org.osgi.framework.ServiceReference serviceRef,
ContextHandler context) |
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 ServiceContextProvider(ServerInstanceWrapper wrapper)
public boolean serviceAdded(org.osgi.framework.ServiceReference serviceRef, ContextHandler context)
serviceAdded
in interface ServiceProvider
public boolean serviceRemoved(org.osgi.framework.ServiceReference serviceRef, ContextHandler context)
serviceRemoved
in interface ServiceProvider
protected void doStart() throws Exception
doStart
in class AbstractLifeCycle
Exception
protected void doStop() throws Exception
doStop
in class AbstractLifeCycle
Exception
Copyright © 1995-2015 Webtide. All Rights Reserved.