Package org.eclipse.jetty.deploy
Interface AppProvider
-
- All Superinterfaces:
org.eclipse.jetty.util.component.LifeCycle
- All Known Implementing Classes:
ScanningAppProvider,WebAppProvider
public interface AppProvider extends org.eclipse.jetty.util.component.LifeCycleObject responsible for providingApps to theDeploymentManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.jetty.server.handler.ContextHandlercreateContextHandler(App app)Create a ContextHandler for an AppvoidsetDeploymentManager(DeploymentManager deploymentManager)Set the Deployment Manager
-
-
-
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
org.eclipse.jetty.server.handler.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
-
-