public interface StateManagedComponent extends AdaptrisComponent
Specifies methods for components which manage state transitions.
AdaptrisComponent| Modifier and Type | Method and Description |
|---|---|
void |
changeState(ComponentState newState)
Updates the state for the component
ComponentState. |
void |
requestClose()
Request this component is closed.
|
void |
requestInit()
Request this component is init'd.
|
void |
requestStart()
Request this component is started.
|
void |
requestStop()
Request this component is stopped.
|
ComponentState |
retrieveComponentState()
Returns the last recorde
ComponentState. |
getUniqueIdclose, init, start, stopprepareComponentState retrieveComponentState()
Returns the last recorde ComponentState.
ComponentStatevoid changeState(ComponentState newState)
Updates the state for the component ComponentState.
void requestInit()
throws CoreException
Request this component is init'd.
CoreException - wrapping any underlying Exceptionsvoid requestStart()
throws CoreException
Request this component is started.
CoreException - wrapping any underlying Exceptionsvoid requestStop()
Request this component is stopped.
void requestClose()
Request this component is closed.