Modifier and Type | Field and Description |
---|---|
static Logger |
deplLogger |
protected SnifferManager |
snifferManager |
Constructor and Description |
---|
EarDeployer() |
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.
|
protected void |
generateArtifacts(DeploymentContext context) |
MetaData |
getMetaData()
Returns the meta data associated with this Deployer
|
ApplicationContainer |
load(Container 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.
|
Object |
loadMetaData(Class 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(ApplicationContainer appContainer,
DeploymentContext context)
Unload or stop a previously running application identified with the
ContractProvider instance.
|
@Inject protected SnifferManager snifferManager
public static final Logger deplLogger
public MetaData getMetaData()
Deployer
getMetaData
in interface Deployer
public Object loadMetaData(Class type, DeploymentContext context)
Deployer
loadMetaData
in interface Deployer
type
- type of meta-data that this deployer has declared providing.public boolean prepare(DeploymentContext context)
Deployer
protected void generateArtifacts(DeploymentContext context) throws DeploymentException
DeploymentException
public ApplicationContainer load(Container container, DeploymentContext context)
Deployer
public void unload(ApplicationContainer appContainer, DeploymentContext context)
Deployer
public void clean(DeploymentContext context)
Deployer
Copyright © 2019. All rights reserved.