@Service public class WebDeployer extends JavaEEDeployer<WebContainer,WebApplication>
appRegistry, env, habitat, undeploymentVisitor| Constructor and Description |
|---|
WebDeployer()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
generateArtifacts(DeploymentContext dc) |
MetaData |
getMetaData()
Returns the meta data assocated with this Deployer
|
WebApplication |
load(WebContainer container,
DeploymentContext dc)
Loads a previously prepared application in its execution environment and
return a ContractProvider instance that will identify this environment in
future communications with the application's container runtime.
|
<V> V |
loadMetaData(Class<V> type,
DeploymentContext dc)
Loads the meta date associated with the application.
|
void |
unload(WebApplication webApplication,
DeploymentContext dc)
Unload or stop a previously running application identified with the
ContractProvider instance.
|
clean, getApplicationFromApplicationInfo, getCommonClassPath, getModuleClassPath, getObjectType, preparepublic MetaData getMetaData()
getMetaData in interface Deployer<WebContainer,WebApplication>getMetaData in class JavaEEDeployer<WebContainer,WebApplication>public <V> V loadMetaData(Class<V> type, DeploymentContext dc)
JavaEEDeployerloadMetaData in interface Deployer<WebContainer,WebApplication>loadMetaData in class JavaEEDeployer<WebContainer,WebApplication>type - type of metadata that this deployer has declared providing.dc - deployment contextprotected void generateArtifacts(DeploymentContext dc) throws DeploymentException
generateArtifacts in class JavaEEDeployer<WebContainer,WebApplication>DeploymentExceptionpublic WebApplication load(WebContainer container, DeploymentContext dc)
JavaEEDeployerload in interface Deployer<WebContainer,WebApplication>load in class JavaEEDeployer<WebContainer,WebApplication>container - in which the application will residedc - of the deploymentpublic void unload(WebApplication webApplication, DeploymentContext dc)
DeployerwebApplication - instance to be stoppeddc - of the undeploymentCopyright © 2017. All rights reserved.