Package org.eclipse.jetty.deploy
Interface AppProvider
-
- All Superinterfaces:
LifeCycle
- All Known Implementing Classes:
AbstractContextProvider
,AbstractWebAppProvider
,BundleContextProvider
,BundleWebAppProvider
,ScanningAppProvider
,ServiceContextProvider
,ServiceWebAppProvider
,WebAppProvider
public interface AppProvider extends LifeCycle
Object responsible for providingApp
s to theDeploymentManager
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContextHandler
createContextHandler(App app)
Create a ContextHandler for an Appvoid
setDeploymentManager(DeploymentManager deploymentManager)
Set the Deployment Manager-
Methods inherited from interface org.eclipse.jetty.util.component.LifeCycle
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
-
-
-
-
Method Detail
-
setDeploymentManager
void setDeploymentManager(DeploymentManager deploymentManager)
Set the Deployment Manager- Parameters:
deploymentManager
- the deployment manager- Throws:
java.lang.IllegalStateException
- if the providerLifeCycle.isRunning()
.
-
createContextHandler
ContextHandler createContextHandler(App app) throws java.lang.Exception
Create a ContextHandler for an App- Parameters:
app
- The App- Returns:
- A ContextHandler
- Throws:
java.io.IOException
- if unable to create contextjava.lang.Exception
- if unable to create context
-
-