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, stateLockObject
cancel, cancelImpl, canDeploy, finishImpl, getName, getSequenceId, handleEvent, isDeploymentCancelled, prepareImpl, throwExceptionIfCancelEventReceived, toString
public ModulePackager(int deploySequenceId, DeployShell shell)
public void deployImpl(int deploySequenceId, DeployShell shell) throws DeployException
deployImpl
in class AbstractDeployer
DeployException
public void initializeState() throws StateException
Stateful
initializeState
in interface Stateful
initializeState
in class AbstractStatefulDeployer
StateException
- if state could not be initialized.@Deprecated protected Profile[] getProfilesToDeploy(int sequence, DeployShell shell) throws DeployException
DeployException
public void invalidateState()
Stateful
invalidateState
in interface Stateful
invalidateState
in class AbstractStatefulDeployer
public void releaseState()
Stateful
releaseState
in interface Stateful
releaseState
in class AbstractStatefulDeployer
protected void addStateChangeListeners()
AbstractStatefulDeployer
addStateChangeListeners
in class AbstractStatefulDeployer
protected void removeStateChangeListeners()
AbstractStatefulDeployer
removeStateChangeListeners
in class AbstractStatefulDeployer