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 . |
getUniqueId
close, init, start, stop
prepare
ComponentState retrieveComponentState()
Returns the last recorde ComponentState
.
ComponentState
void 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.