|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.deploy.DeployGenerator<E>
public abstract class DeployGenerator<E extends DeployController>
The generator for the deploy
| Constructor Summary | |
|---|---|
DeployGenerator(DeployContainer<E> container)
Creates the deploy. |
|
| Method Summary | |
|---|---|
void |
destroy()
Closes the deploy |
protected void |
destroyImpl()
Derived class implentation of destroy. |
void |
environmentStart(EnvironmentClassLoader loader)
Handles the case where the environment is starting (after init). |
void |
environmentStop(EnvironmentClassLoader loader)
Handles the case where the environment is stopping |
protected void |
fillDeployedKeys(java.util.Set<java.lang.String> keys)
Returns the deployed keys. |
protected E |
generateController(java.lang.String key)
Generates the controller. |
java.lang.Throwable |
getConfigException()
|
DeployContainer<E> |
getDeployContainer()
Returns the deploy container. |
protected java.util.logging.Logger |
getLog()
Returns the log. |
java.lang.ClassLoader |
getParentClassLoader()
Returns the parent class loader. |
java.lang.String |
getRedeployMode()
Gets the redeploy mode. |
java.lang.String |
getStartupMode()
Gets the startup mode. |
java.lang.String |
getState()
|
void |
init()
|
protected void |
initImpl()
Derived class implementation of init |
boolean |
isActive()
|
boolean |
isDestroyed()
|
boolean |
isModified()
Returns true if the deployment has modified. |
boolean |
logModified(java.util.logging.Logger log)
Returns true if the deployment has modified. |
protected E |
mergeController(E controller,
java.lang.String key)
Merges the entry with other matching entries, returning the new entry. |
void |
request()
lazy-start |
void |
setRedeployMode(java.lang.String mode)
Sets the redeploy mode. |
void |
setStartupMode(java.lang.String mode)
Sets the startup mode. |
void |
start()
Starts the deployment. |
protected void |
startImpl()
Derived class implentation of start. |
void |
stop()
Stops the deploy |
protected void |
stopImpl()
Derived class implentation of stop. |
java.lang.String |
toString()
|
void |
update()
Forces an update. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DeployGenerator(DeployContainer<E> container)
| Method Detail |
|---|
public DeployContainer<E> getDeployContainer()
public java.lang.ClassLoader getParentClassLoader()
public void setStartupMode(java.lang.String mode)
throws ConfigException
ConfigException
public java.lang.String getStartupMode()
throws ConfigException
ConfigException
public void setRedeployMode(java.lang.String mode)
throws ConfigException
ConfigException
public java.lang.String getRedeployMode()
throws ConfigException
ConfigException
public final void init()
throws ConfigException
ConfigExceptionprotected void initImpl()
public boolean isModified()
isModified in interface Dependencypublic boolean logModified(java.util.logging.Logger log)
logModified in interface Dependencypublic java.lang.String getState()
public final void start()
public boolean isActive()
public boolean isDestroyed()
protected void startImpl()
public void request()
public void update()
protected void fillDeployedKeys(java.util.Set<java.lang.String> keys)
protected E generateController(java.lang.String key)
protected E mergeController(E controller,
java.lang.String key)
protected java.util.logging.Logger getLog()
public final void stop()
protected void stopImpl()
public java.lang.Throwable getConfigException()
public final void destroy()
protected void destroyImpl()
public void environmentStart(EnvironmentClassLoader loader)
environmentStart in interface EnvironmentListenerpublic void environmentStop(EnvironmentClassLoader loader)
environmentStop in interface EnvironmentListenerpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||