Package org.eclipse.jetty.deploy
Interface AppProvider
- All Superinterfaces:
LifeCycle
- All Known Implementing Classes:
AbstractContextProvider
,BundleContextProvider
,BundleWebAppProvider
,ContextProvider
,ScanningAppProvider
Object responsible for providing
App
s to the DeploymentManager
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
-
Method Summary
Modifier and TypeMethodDescriptioncreateContextHandler
(App app) Create a ContextHandler for an Appvoid
setDeploymentManager
(DeploymentManager deploymentManager) Set the Deployment ManagerMethods inherited from interface org.eclipse.jetty.util.component.LifeCycle
addEventListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, start, stop
-
Method Details
-
setDeploymentManager
Set the Deployment Manager- Parameters:
deploymentManager
- the deployment manager- Throws:
IllegalStateException
- if the providerLifeCycle.isRunning()
.
-
createContextHandler
Create a ContextHandler for an App- Parameters:
app
- The App- Returns:
- A ContextHandler
- Throws:
IOException
- if unable to create contextException
- if unable to create context
-
getEnvironmentName
String getEnvironmentName()- Returns:
- The name of the
Environment
this provider is for.
-