public class EngineRef extends Object
Constructor and Description |
---|
EngineRef(EngineInfo container,
ApplicationContainer appCtr) |
Modifier and Type | Method and Description |
---|---|
void |
clean(ExtendedDeploymentContext context) |
ApplicationConfig |
getApplicationConfig() |
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(Engine engine)
Saves its state to the configuration.
|
void |
setApplicationConfig(ApplicationConfig config) |
void |
setApplicationContainer(ApplicationContainer appCtr)
Set the contaier associated with this application
|
boolean |
start(ApplicationContext context,
ProgressTracker tracker) |
boolean |
stop(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, ApplicationContainer appCtr)
public EngineInfo getContainerInfo()
public void setApplicationContainer(ApplicationContainer appCtr)
appCtr
- the container for this applicationpublic ApplicationContainer getApplicationContainer()
public void setApplicationConfig(ApplicationConfig config)
public ApplicationConfig getApplicationConfig()
public void load(ExtendedDeploymentContext context, ProgressTracker tracker)
public boolean start(ApplicationContext context, ProgressTracker tracker) throws Exception
Exception
public boolean unload(ExtendedDeploymentContext context)
context
- unloading contextpublic boolean stop(ApplicationContext context)
context
- stopping contextpublic void clean(ExtendedDeploymentContext context)
public void save(Engine engine) throws TransactionFailure, PropertyVetoException
engine
- the engine configuration being persistedTransactionFailure
PropertyVetoException
Copyright © 2021. All rights reserved.