public final class BatchDeployer extends AbstractStatefulDeployer
Stateful.State| Constructor and Description |
|---|
BatchDeployer(int deploySequenceId,
int[] deploySequenceIds) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addStateChangeListeners()
Called when the first state change listener is registered into this Deployer.
|
void |
cancelImpl(int deploySequenceId,
DeployShell shell) |
boolean |
canDeploy(int deploySequenceId)
Indicate whether the deployer (or if its a composite deployer then any of
its contained deployers) is capable of deploying the task indicated by
the DeploymentSequenceId.
|
void |
deployImpl(int deploySequenceId,
DeployShell shell) |
void |
finishImpl(int deploySequenceId,
DeployShell shell) |
Deployer[] |
getDeployers() |
void |
initializeState()
Transition from 'Uninitialized' to 'Initialized'.
|
void |
invalidateState()
Transition from 'Valid' to 'Initialized' state.
|
void |
prepareImpl(int deploySequenceId,
DeployShell shell)
Prepare each deployer.
|
void |
releaseState()
Release state and any resources its holding.
|
protected void |
removeStateChangeListeners()
Called when the last state change listener is unregistered into this Deployer.
|
java.lang.String |
toString() |
attachDisabledStateChangeListener, attachStateChangeListener, deploy, finish, fireStateChanged, fireStateInvalidated, fireStateReleased, prepare, stateLockObjectcancel, getName, getSequenceId, handleEvent, isDeploymentCancelled, throwExceptionIfCancelEventReceivedpublic BatchDeployer(int deploySequenceId,
int[] deploySequenceIds)
public Deployer[] getDeployers()
public void prepareImpl(int deploySequenceId,
DeployShell shell)
throws DeployException
prepareImpl in class AbstractDeployerdeploySequenceId - shell - DeployExceptionpublic void deployImpl(int deploySequenceId,
DeployShell shell)
throws DeployException
deployImpl in class AbstractDeployerDeployExceptionpublic void finishImpl(int deploySequenceId,
DeployShell shell)
finishImpl in class AbstractDeployerpublic void cancelImpl(int deploySequenceId,
DeployShell shell)
cancelImpl in class AbstractDeployerpublic boolean canDeploy(int deploySequenceId)
DeployercanDeploy in interface DeployercanDeploy in class AbstractDeployerpublic java.lang.String toString()
toString in class AbstractDeployerpublic void initializeState()
throws StateException
StatefulinitializeState in interface StatefulinitializeState in class AbstractStatefulDeployerStateException - if state could not be initialized.public void invalidateState()
throws StateException
StatefulinvalidateState in interface StatefulinvalidateState in class AbstractStatefulDeployerStateException - if called on a released or uninitialized object.public void releaseState()
StatefulreleaseState in interface StatefulreleaseState in class AbstractStatefulDeployerprotected void addStateChangeListeners()
AbstractStatefulDeployeraddStateChangeListeners in class AbstractStatefulDeployerprotected void removeStateChangeListeners()
AbstractStatefulDeployerremoveStateChangeListeners in class AbstractStatefulDeployer