

Public Member Functions | |
| void | initialize (ContainerServices containerServices) |
| void | execute () |
| void | cleanUp () |
| void | aboutToAbort () |
| ComponentStates | componentState () |
| String | name () |
| void | displayMessage () |
Private Attributes | |
| ContainerServices | m_containerServices |
| Logger | m_logger |
A component for testing the persistence of CORBA references
| void alma::test::corbareftest::component::HelloWorldImpl::aboutToAbort | ( | ) | [inline] |
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.
Reimplemented from alma::acs::component::ComponentImplBase.
| void alma::test::corbareftest::component::HelloWorldImpl::cleanUp | ( | ) | [inline] |
Called after the last functional call to the component has finished. The component should then orderly release resources etc.
Reimplemented from alma::acs::component::ComponentImplBase.
References m_logger.
Referenced by aboutToAbort().
| ComponentStates alma::test::corbareftest::component::HelloWorldImpl::componentState | ( | ) | [inline] |
Reimplemented from alma::acs::component::ComponentImplBase.
References alma::acs::container::ContainerServices::getComponentStateManager(), and m_containerServices.
| void alma::test::corbareftest::component::HelloWorldImpl::displayMessage | ( | ) | [inline] |
| void alma::test::corbareftest::component::HelloWorldImpl::execute | ( | ) | [inline] |
Called after ComponentLifecycle#initialize(ContainerServices) to tell the component that it has to be ready to accept incoming functional calls any time.
Examples:
initialize seemed too early Must be implemented as a synchronous (blocking) call (can spawn threads though).
Reimplemented from alma::acs::component::ComponentImplBase.
References m_logger.
| void alma::test::corbareftest::component::HelloWorldImpl::initialize | ( | ContainerServices | containerServices | ) | [inline] |
Subclass must call super.initialize(containerServices) unless it overrides as well all other methods which access the member vars of this class.
Reimplemented from alma::acs::component::ComponentImplBase.
References alma::acs::container::ContainerServicesBase::getLogger(), m_containerServices, and m_logger.
| String alma::test::corbareftest::component::HelloWorldImpl::name | ( | ) | [inline] |
Reimplemented from alma::acs::component::ComponentImplBase.
References alma::acs::container::ContainerServicesBase::getName(), and m_containerServices.
ContainerServices alma::test::corbareftest::component::HelloWorldImpl::m_containerServices [private] |
API through which the container explicitly provides various services to its components.
Reimplemented from alma::acs::component::ComponentImplBase.
Referenced by componentState(), initialize(), and name().
Logger alma::test::corbareftest::component::HelloWorldImpl::m_logger [private] |
Logger to be used by subclass for all application code logging.
Reimplemented from alma::acs::component::ComponentImplBase.
Referenced by aboutToAbort(), cleanUp(), execute(), and initialize().
1.6.2