public class DeployListGenerator<E extends DeployControllerApi<?>> extends DeployGenerator<E> implements Dependency
Constructor and Description |
---|
DeployListGenerator(DeployContainer<E> container)
Creates the deploy.
|
Modifier and Type | Method and Description |
---|---|
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.
|
destroy, environmentBind, environmentConfigure, environmentStart, environmentStop, getConfigException, getDeployContainer, getLog, getParentClassLoader, getRedeployMode, getStartupMode, getState, init, initImpl, isActive, isDestroyed, setRedeployMode, setStartupMode, start, stop
public DeployListGenerator(DeployContainer<E> container)
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<?>>