public class NullDeployer extends java.lang.Object implements StatefulDeployer
StatefulDeployer.Handle
Stateful.State
Constructor and Description |
---|
NullDeployer() |
Modifier and Type | Method and Description |
---|---|
StatefulDeployer.Handle |
attachDisabledStateChangeListener(java.lang.Object listener) |
StatefulDeployer.Handle |
attachStateChangeListener(java.lang.Object listener)
Attaches a listener for events from the
DeployerStateChange category. |
void |
cancel(int deploySequenceId,
DeployShell shell)
No-op
|
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 |
deploy(int deploySequenceId,
DeployShell shell)
No-op.
|
void |
finish(int deploySequenceId,
DeployShell shell)
No-op.
|
void |
initializeState()
Transition from 'Uninitialized' to 'Initialized'.
|
void |
invalidateState()
Transition from 'Valid' to 'Initialized' state.
|
void |
prepare(int deploySequenceId,
DeployShell shell)
No-op.
|
void |
releaseState()
Release state and any resources its holding.
|
public void prepare(int deploySequenceId, DeployShell shell) throws DeployException
prepare
in interface Deployer
deploySequenceId
- shell
- DeployException
public void deploy(int deploySequenceId, DeployShell shell) throws DeployException
deploy
in interface Deployer
deploySequenceId
- shell
- DeployException
public void finish(int deploySequenceId, DeployShell shell)
public void cancel(int deploySequenceId, DeployShell shell)
public boolean canDeploy(int deploySequenceId)
Deployer
public void initializeState()
Stateful
initializeState
in interface Stateful
public void invalidateState()
Stateful
invalidateState
in interface Stateful
public void releaseState()
Stateful
releaseState
in interface Stateful
public StatefulDeployer.Handle attachStateChangeListener(java.lang.Object listener)
StatefulDeployer
DeployerStateChange
category.attachStateChangeListener
in interface StatefulDeployer
public StatefulDeployer.Handle attachDisabledStateChangeListener(java.lang.Object listener)
attachDisabledStateChangeListener
in interface StatefulDeployer