public class ModulePackager extends AbstractStatefulDeployer
Stateful.State| Constructor and Description |
|---|
ModulePackager(int deploySequenceId,
DeployShell shell) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addStateChangeListeners()
Called when the first state change listener is registered into this Deployer.
|
void |
deployImpl(int deploySequenceId,
DeployShell shell) |
protected Profile[] |
getProfilesToDeploy(int sequence,
DeployShell shell)
Deprecated.
Do not override ModulePackager. Instead use a StatefulProcessor
|
void |
initializeState()
Transition from 'Uninitialized' to 'Initialized'.
|
void |
invalidateState()
Transition from 'Valid' to 'Initialized' state.
|
void |
releaseState()
Release state and any resources its holding.
|
protected void |
removeStateChangeListeners()
Called when the last state change listener is unregistered into this Deployer.
|
attachDisabledStateChangeListener, attachStateChangeListener, deploy, finish, fireStateChanged, fireStateInvalidated, fireStateReleased, prepare, stateLockObjectcancel, cancelImpl, canDeploy, finishImpl, getName, getSequenceId, handleEvent, isDeploymentCancelled, prepareImpl, throwExceptionIfCancelEventReceived, toStringpublic ModulePackager(int deploySequenceId,
DeployShell shell)
public void deployImpl(int deploySequenceId,
DeployShell shell)
throws DeployException
deployImpl in class AbstractDeployerDeployExceptionpublic void initializeState()
throws StateException
StatefulinitializeState in interface StatefulinitializeState in class AbstractStatefulDeployerStateException - if state could not be initialized.@Deprecated protected Profile[] getProfilesToDeploy(int sequence, DeployShell shell) throws DeployException
DeployExceptionpublic void invalidateState()
StatefulinvalidateState in interface StatefulinvalidateState in class AbstractStatefulDeployerpublic void releaseState()
StatefulreleaseState in interface StatefulreleaseState in class AbstractStatefulDeployerprotected void addStateChangeListeners()
AbstractStatefulDeployeraddStateChangeListeners in class AbstractStatefulDeployerprotected void removeStateChangeListeners()
AbstractStatefulDeployerremoveStateChangeListeners in class AbstractStatefulDeployer