|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.env.deploy.DeployGenerator<E>
com.caucho.env.deploy.DeployListGenerator<E>
public class DeployListGenerator<E extends DeployControllerApi<?>>
A list of deploy objects.
Constructor Summary | |
---|---|
DeployListGenerator(DeployContainer<E> container)
Creates the deploy. |
Method Summary | |
---|---|
void |
add(DeployGenerator<E> deploy)
Adds a deploy. |
protected void |
destroyImpl()
Closes the deploys. |
void |
fillDeployedNames(java.util.Set<java.lang.String> keys)
Returns the deployed keys. |
protected void |
generateController(java.lang.String key,
java.util.ArrayList<E> controllers)
Generates the controller matching the key string. |
boolean |
isModified()
Returns true if the deployment has modified. |
boolean |
logModified(java.util.logging.Logger log)
Logs the modified location. |
protected void |
mergeController(E controller,
java.lang.String key)
Merges with other matching entries. |
void |
remove(DeployGenerator<E> deploy)
Removes a deploy. |
protected void |
startImpl()
Starts the deploys. |
protected void |
stopImpl()
Stops the deploys. |
java.lang.String |
toString()
|
void |
update()
Force an update |
void |
updateIfModified()
Redeploy if the deployment is modified. |
Methods inherited from class com.caucho.env.deploy.DeployGenerator |
---|
destroy, environmentBind, environmentConfigure, environmentStart, environmentStop, getConfigException, getDeployContainer, getLog, getParentClassLoader, getRedeployMode, getStartupMode, getState, init, initImpl, isActive, isDestroyed, setRedeployMode, setStartupMode, start, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeployListGenerator(DeployContainer<E> container)
Method Detail |
---|
public void add(DeployGenerator<E> deploy)
public void remove(DeployGenerator<E> deploy)
public boolean isModified()
isModified
in interface Dependency
isModified
in class DeployGenerator<E extends DeployControllerApi<?>>
public boolean logModified(java.util.logging.Logger log)
logModified
in interface Dependency
logModified
in class DeployGenerator<E extends DeployControllerApi<?>>
public void updateIfModified()
updateIfModified
in class DeployGenerator<E extends DeployControllerApi<?>>
public void update()
update
in class DeployGenerator<E extends DeployControllerApi<?>>
public void fillDeployedNames(java.util.Set<java.lang.String> keys)
fillDeployedNames
in class DeployGenerator<E extends DeployControllerApi<?>>
protected void generateController(java.lang.String key, java.util.ArrayList<E> controllers)
generateController
in class DeployGenerator<E extends DeployControllerApi<?>>
protected void mergeController(E controller, java.lang.String key)
mergeController
in class DeployGenerator<E extends DeployControllerApi<?>>
protected void startImpl()
startImpl
in class DeployGenerator<E extends DeployControllerApi<?>>
protected void stopImpl()
stopImpl
in class DeployGenerator<E extends DeployControllerApi<?>>
protected void destroyImpl()
destroyImpl
in class DeployGenerator<E extends DeployControllerApi<?>>
public java.lang.String toString()
toString
in class DeployGenerator<E extends DeployControllerApi<?>>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |