Public Member Functions | |
void | initialize (ContainerServices containerServices) throws ComponentLifecycleException |
void | execute () throws ComponentLifecycleException |
void | cleanUp () |
void | aboutToAbort () |
ComponentStates | componentState () |
String | name () |
Protected Attributes | |
String | m_instanceName |
ContainerServices | m_containerServices |
AcsLogger | m_logger |
Private Member Functions | |
void | checkProperInit () |
|
Calls cleanUp). Override this method if the emergency situation of a container/component abort with unknown remaining lifetime requires a different strategy than the regular clean-up.
Implements alma::acs::component::ComponentLifecycle.
|
|
Asserts that m_containerServices != null.
|
|
Called after the last functional call to the component has finished. The component should then orderly release resources etc. Implements alma::acs::component::ComponentLifecycle.
|
|
|
|
Called after ComponentLifecycle#initialize(ContainerServices) to tell the component that it has to be ready to accept incoming functional calls any time. Examples:
Must be implemented as a synchronous (blocking) call (can spawn threads though). Implements alma::acs::component::ComponentLifecycle.
|
|
Subclass must call
Implements alma::acs::component::ComponentLifecycle.
|
|
|
|
API through which the container explicitly provides various services to its components. |
|
name of the component instance, which is either given statically in the CDB deployment configuration or determined right before the instantiation of a dynamic component. To be used by subclass as a shortcut for |
|
Logger to be used by subclass for all application code logging. |