| Modifier and Type | Class and Description |
|---|---|
static interface |
StatefulDeployment.Handle |
Stateful.State| Modifier and Type | Method and Description |
|---|---|
StatefulDeployment.Handle |
attachDisabledStateChangeListener(Listener<DeploymentStateChange> listener) |
StatefulDeployment.Handle |
attachStateChangeListener(Listener<DeploymentStateChange> listener)
Add a listener that will receive
DeploymentStateChange events. |
static StatefulDeployment |
findStatefulDeployment(DeployShell shell) |
StatefulDeployer |
getDeployer()
For internal use only.
|
static StatefulDeployment |
getOrCreateStatefulDeployment(int sequence,
DeployShell shell) |
static StatefulDeployment |
getStatefulDeployment(DeployShell shell) |
void |
initializeState()
Transition from 'Uninitialized' to 'Initialized'.
|
void |
invalidateState()
Transition from 'Valid' to 'Initialized' state.
|
boolean |
isInitialized() |
boolean |
isStatefulDeployment() |
void |
releaseState()
Release state and any resources its holding.
|
public boolean isStatefulDeployment()
public static StatefulDeployment getOrCreateStatefulDeployment(int sequence, DeployShell shell)
public static StatefulDeployment findStatefulDeployment(DeployShell shell)
public static StatefulDeployment getStatefulDeployment(DeployShell shell)
public StatefulDeployer getDeployer()
public void initializeState()
throws StateException
StatefulinitializeState in interface StatefulStateException - if state could not be initialized.public void invalidateState()
StatefulinvalidateState in interface Statefulpublic void releaseState()
StatefulreleaseState in interface Statefulpublic boolean isInitialized()
public StatefulDeployment.Handle attachStateChangeListener(Listener<DeploymentStateChange> listener)
DeploymentStateChange events.public StatefulDeployment.Handle attachDisabledStateChangeListener(Listener<DeploymentStateChange> listener)