public interface StateManagedComponentContainer extends StateManagedComponent
StateManagedComponent used for fine grained state transitions.
A StateManagedComponent may have references to other StateManagedComponents whose state maybe be
independently controlled and thus different from the state of this object. Therefore in some instances we still need to delegate
requests to any state managed sub-components in case action is required.
For instance, a JMX request stops a channel. In this instance, the adapter is still considered started; if an invocation of
StateManagedComponent.requestStart() occurs for the adapter, it cannot just do nothing, it must delegate operations to
any children that will require it.
| Modifier and Type | Method and Description |
|---|---|
void |
requestChildClose()
Close any independent sub components.
|
void |
requestChildInit()
Initialise any independent sub-components.
|
void |
requestChildStart()
Start any independent sub components.
|
void |
requestChildStop()
Stop any independent sub components.
|
changeState, requestClose, requestInit, requestStart, requestStop, retrieveComponentStategetUniqueIdclose, init, start, stoppreparevoid requestChildInit()
throws CoreException
CoreException - wrapping any underlying Exceptionsvoid requestChildStart()
throws CoreException
CoreException - wrapping any underlying Exceptionsvoid requestChildStop()
void requestChildClose()