T
- is the container type associated with this deployerU
- is the ApplicationContainer implementation for this deployerpublic interface Deployer<T extends Container,U extends ApplicationContainer>
Modifier and Type | Method and Description |
---|---|
void |
clean(DeploymentContext context)
Clean any files and artifacts that were created during the execution
of the prepare method.
|
MetaData |
getMetaData()
Returns the meta data associated with this Deployer
|
U |
load(T container,
DeploymentContext context)
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 context)
Loads the meta date associated with the application.
|
boolean |
prepare(DeploymentContext context)
Prepares the application bits for running in the application server.
|
void |
unload(U appContainer,
DeploymentContext context)
Unload or stop a previously running application identified with the
ContractProvider instance.
|
MetaData getMetaData()
<V> V loadMetaData(Class<V> type, DeploymentContext context)
type
- type of meta-data that this deployer has declared providing.boolean prepare(DeploymentContext context)
context
- of the deploymentU load(T container, DeploymentContext context)
container
- in which the application will residecontext
- of the deploymentvoid unload(U appContainer, DeploymentContext context)
appContainer
- instance to be stoppedcontext
- of the undeploymentvoid clean(DeploymentContext context)
context
- deployment contextCopyright © 2019. All rights reserved.