|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.glassfish.javaee.core.deployment.JavaEEDeployer<T,U>
public abstract class JavaEEDeployer<T extends Container,U extends ApplicationContainer>
Convenient superclass for JavaEE Deployer implementations.
| Field Summary | |
|---|---|
protected ApplicationRegistry |
appRegistry
|
protected ServerEnvironment |
env
|
protected org.jvnet.hk2.component.Habitat |
habitat
|
protected ApplicationVisitor |
undeploymentVisitor
|
| Constructor Summary | |
|---|---|
JavaEEDeployer()
|
|
| Method Summary | ||
|---|---|---|
void |
clean(DeploymentContext context)
Clean any files and artifacts that were created during the execution of the prepare method. |
|
protected void |
generateArtifacts(DeploymentContext dc)
|
|
protected Application |
getApplicationFromApplicationInfo(java.lang.String appName)
|
|
protected java.lang.String |
getCommonClassPath()
|
|
MetaData |
getMetaData()
Returns the meta data assocated with this Deployer |
|
protected java.lang.String |
getModuleClassPath(DeploymentContext ctx)
Returns the classpath associated with this module Can be used to compile generated cmp classes, rmi stubs etc. |
|
protected abstract java.lang.String |
getModuleType()
|
|
protected java.lang.String |
getObjectType(DeploymentContext context)
|
|
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. |
|
|
loadMetaData(java.lang.Class<V> type,
DeploymentContext dc)
Loads the meta date associated with the application. |
|
boolean |
prepare(DeploymentContext dc)
Prepares the application bits for running in the application server. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.glassfish.api.deployment.Deployer |
|---|
unload |
| Field Detail |
|---|
protected ServerEnvironment env
protected ApplicationRegistry appRegistry
protected org.jvnet.hk2.component.Habitat habitat
protected ApplicationVisitor undeploymentVisitor
| Constructor Detail |
|---|
public JavaEEDeployer()
| Method Detail |
|---|
public MetaData getMetaData()
getMetaData in interface Deployer<T extends Container,U extends ApplicationContainer>protected java.lang.String getModuleClassPath(DeploymentContext ctx)
protected java.lang.String getCommonClassPath()
public <V> V loadMetaData(java.lang.Class<V> type,
DeploymentContext dc)
loadMetaData in interface Deployer<T extends Container,U extends ApplicationContainer>type - type of metadata that this deployer has declared providing.dc - deployment contextpublic 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>container - in which the application will residecontext - of the deployment
protected void generateArtifacts(DeploymentContext dc)
throws DeploymentException
DeploymentExceptionpublic void clean(DeploymentContext context)
clean in interface Deployer<T extends Container,U extends ApplicationContainer>context - deployment contextprotected java.lang.String getObjectType(DeploymentContext context)
protected Application getApplicationFromApplicationInfo(java.lang.String appName)
protected abstract java.lang.String getModuleType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||