public abstract class SimpleDeployer<T extends org.glassfish.api.container.Container,U extends org.glassfish.api.deployment.ApplicationContainer> extends Object implements org.glassfish.api.deployment.Deployer<T,U>
| Constructor and Description |
|---|
SimpleDeployer() |
| Modifier and Type | Method and Description |
|---|---|
void |
clean(org.glassfish.api.deployment.DeploymentContext context)
Clean any files and artifacts that were created during the execution
of the prepare method.
|
protected abstract void |
cleanArtifacts(org.glassfish.api.deployment.DeploymentContext dc) |
protected abstract void |
generateArtifacts(org.glassfish.api.deployment.DeploymentContext dc) |
org.glassfish.api.deployment.MetaData |
getMetaData()
Returns the meta data assocated with this Deployer
|
U |
load(T container,
org.glassfish.api.deployment.DeploymentContext context)
No-op
|
<V> V |
loadMetaData(Class<V> type,
org.glassfish.api.deployment.DeploymentContext context)
Loads the meta date associated with the application.
|
boolean |
prepare(org.glassfish.api.deployment.DeploymentContext dc)
Prepares the application bits for running in the application server.
|
void |
unload(U appContainer,
org.glassfish.api.deployment.DeploymentContext context)
No-op
|
public <V> V loadMetaData(Class<V> type, org.glassfish.api.deployment.DeploymentContext context)
public boolean prepare(org.glassfish.api.deployment.DeploymentContext dc)
public void unload(U appContainer, org.glassfish.api.deployment.DeploymentContext context)
public void clean(org.glassfish.api.deployment.DeploymentContext context)
public org.glassfish.api.deployment.MetaData getMetaData()
protected abstract void generateArtifacts(org.glassfish.api.deployment.DeploymentContext dc)
throws DeploymentException
DeploymentExceptionprotected abstract void cleanArtifacts(org.glassfish.api.deployment.DeploymentContext dc)
throws DeploymentException
DeploymentExceptionCopyright © 2017–2020 Eclipse Foundation. All rights reserved.