public abstract class AbstractContextProvider extends AbstractLifeCycle implements AppProvider
Modifier and Type | Class and Description |
---|---|
class |
AbstractContextProvider.OSGiApp
OSGiApp
|
AbstractLifeCycle.AbstractLifeCycleListener
LifeCycle.Listener
Constructor and Description |
---|
AbstractContextProvider(ServerInstanceWrapper wrapper) |
Modifier and Type | Method and Description |
---|---|
ContextHandler |
createContextHandler(App app)
Create a ContextHandler for an App
|
DeploymentManager |
getDeploymentManager() |
ServerInstanceWrapper |
getServerInstanceWrapper() |
void |
setDeploymentManager(DeploymentManager deploymentManager)
Set the Deployment Manager
|
addLifeCycleListener, doStart, doStop, 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 AbstractContextProvider(ServerInstanceWrapper wrapper)
public ServerInstanceWrapper getServerInstanceWrapper()
public ContextHandler createContextHandler(App app) throws java.lang.Exception
AppProvider
createContextHandler
in interface AppProvider
app
- The Appjava.io.IOException
- if unable to create contextjava.lang.Exception
- if unable to create contextAppProvider.createContextHandler(org.eclipse.jetty.deploy.App)
public void setDeploymentManager(DeploymentManager deploymentManager)
AppProvider
setDeploymentManager
in interface AppProvider
deploymentManager
- the deployment managerpublic DeploymentManager getDeploymentManager()
Copyright © 1995–2023 Webtide. All rights reserved.