@Service(name="grizzly") public class GrizzlyDeployer extends Object implements Deployer<GrizzlyContainer,GrizzlyApp>
| Constructor and Description |
|---|
GrizzlyDeployer() |
| 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
|
GrizzlyApp |
load(GrizzlyContainer container,
DeploymentContext context)
Deploy a
Adapter pr GrizzlyAdapter. |
<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(GrizzlyApp appContainer,
DeploymentContext context)
Unload or stop a previously running application identified with the
ContractProvider instance.
|
public MetaData getMetaData()
DeployergetMetaData in interface Deployer<GrizzlyContainer,GrizzlyApp>public <V> V loadMetaData(Class<V> type, DeploymentContext context)
DeployerloadMetaData in interface Deployer<GrizzlyContainer,GrizzlyApp>type - type of meta-data that this deployer has declared providing.public boolean prepare(DeploymentContext context)
Deployerprepare in interface Deployer<GrizzlyContainer,GrizzlyApp>context - of the deploymentpublic GrizzlyApp load(GrizzlyContainer container, DeploymentContext context)
Adapter pr GrizzlyAdapter.load in interface Deployer<GrizzlyContainer,GrizzlyApp>container - context - public void unload(GrizzlyApp appContainer, DeploymentContext context)
Deployerunload in interface Deployer<GrizzlyContainer,GrizzlyApp>appContainer - instance to be stoppedcontext - of the undeploymentpublic void clean(DeploymentContext context)
Deployerclean in interface Deployer<GrizzlyContainer,GrizzlyApp>context - deployment contextCopyright © 2017. All rights reserved.