Interface AppProvider
- All Superinterfaces:
LifeCycle
- All Known Implementing Classes:
AbstractContextProvider, BundleContextProvider, BundleWebAppProvider, ContextProvider, ScanningAppProvider
Object responsible for providing
Apps to the DeploymentManager-
Nested Class Summary
Nested classes/interfaces inherited from interface LifeCycle
LifeCycle.Listener -
Method Summary
Modifier and TypeMethodDescriptioncreateContextHandler(App app) Create a ContextHandler for an AppvoidsetDeploymentManager(DeploymentManager deploymentManager) Set the Deployment ManagerMethods inherited from interface 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
Environmentthis provider is for.
-