public class EngineRef extends Object
| Constructor and Description |
|---|
EngineRef(EngineInfo container,
org.glassfish.api.deployment.ApplicationContainer appCtr) |
| Modifier and Type | Method and Description |
|---|---|
void |
clean(ExtendedDeploymentContext context) |
com.sun.enterprise.config.serverbeans.ApplicationConfig |
getApplicationConfig() |
org.glassfish.api.deployment.ApplicationContainer |
getApplicationContainer()
Returns the contaier associated with this application
|
EngineInfo |
getContainerInfo()
Returns the container associated with this application
|
void |
load(ExtendedDeploymentContext context,
ProgressTracker tracker) |
void |
save(com.sun.enterprise.config.serverbeans.Engine engine)
Saves its state to the configuration.
|
void |
setApplicationConfig(com.sun.enterprise.config.serverbeans.ApplicationConfig config) |
void |
setApplicationContainer(org.glassfish.api.deployment.ApplicationContainer appCtr)
Set the contaier associated with this application
|
boolean |
start(org.glassfish.api.deployment.ApplicationContext context,
ProgressTracker tracker) |
boolean |
stop(org.glassfish.api.deployment.ApplicationContext context)
Stops a module, meaning that components implemented by this module should not be accessed
by external modules
|
boolean |
unload(ExtendedDeploymentContext context)
unloads the module from its container.
|
public EngineRef(EngineInfo container, org.glassfish.api.deployment.ApplicationContainer appCtr)
public EngineInfo getContainerInfo()
public void setApplicationContainer(org.glassfish.api.deployment.ApplicationContainer appCtr)
appCtr - the container for this applicationpublic org.glassfish.api.deployment.ApplicationContainer getApplicationContainer()
public void setApplicationConfig(com.sun.enterprise.config.serverbeans.ApplicationConfig config)
public com.sun.enterprise.config.serverbeans.ApplicationConfig getApplicationConfig()
public void load(ExtendedDeploymentContext context, ProgressTracker tracker)
public boolean start(org.glassfish.api.deployment.ApplicationContext context,
ProgressTracker tracker)
throws Exception
Exceptionpublic boolean unload(ExtendedDeploymentContext context)
context - unloading contextpublic boolean stop(org.glassfish.api.deployment.ApplicationContext context)
context - stopping contextpublic void clean(ExtendedDeploymentContext context)
public void save(com.sun.enterprise.config.serverbeans.Engine engine)
throws org.jvnet.hk2.config.TransactionFailure,
PropertyVetoException
engine - the engine configuration being persistedorg.jvnet.hk2.config.TransactionFailurePropertyVetoExceptionCopyright © 2019. All rights reserved.