|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.deployment.common.SimpleDeployer<T,U>
public abstract class SimpleDeployer<T extends Container,U extends ApplicationContainer>
Convenient superclass for Deployers which only do prepare and clean up and do not actually load/unload application
| Constructor Summary | |
|---|---|
SimpleDeployer()
|
|
| Method Summary | ||
|---|---|---|
void |
clean(DeploymentContext context)
Clean any files and artifacts that were created during the execution of the prepare method. |
|
protected abstract void |
cleanArtifacts(DeploymentContext dc)
|
|
protected abstract void |
generateArtifacts(DeploymentContext dc)
|
|
MetaData |
getMetaData()
Returns the meta data assocated with this Deployer |
|
U |
load(T container,
DeploymentContext context)
No-op |
|
|
loadMetaData(Class<V> type,
DeploymentContext context)
Loads the meta date associated with the application. |
|
boolean |
prepare(DeploymentContext dc)
Prepares the application bits for running in the application server. |
|
void |
unload(U appContainer,
DeploymentContext context)
No-op |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleDeployer()
| Method Detail |
|---|
public <V> V loadMetaData(Class<V> type,
DeploymentContext context)
loadMetaData in interface Deployer<T extends Container,U extends ApplicationContainer>public boolean prepare(DeploymentContext dc)
prepare in interface Deployer<T extends Container,U extends ApplicationContainer>dc - deployment context
public U load(T container,
DeploymentContext context)
load in interface Deployer<T extends Container,U extends ApplicationContainer>
public void unload(U appContainer,
DeploymentContext context)
unload in interface Deployer<T extends Container,U extends ApplicationContainer>public void clean(DeploymentContext context)
clean in interface Deployer<T extends Container,U extends ApplicationContainer>context - deployment contextpublic MetaData getMetaData()
getMetaData in interface Deployer<T extends Container,U extends ApplicationContainer>
protected abstract void generateArtifacts(DeploymentContext dc)
throws DeploymentException
DeploymentException
protected abstract void cleanArtifacts(DeploymentContext dc)
throws DeploymentException
DeploymentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||