Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl Class Reference

Inheritance diagram for alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl:

Inheritance graph
[legend]
Collaboration diagram for alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

synchronized void initSubsysPass1 () throws AcsStateActionException
synchronized void initSubsysPass2 ()
synchronized void reinitSubsystem ()
synchronized void shutDownSubsysPass1 ()
synchronized void shutDownSubsysPass2 ()

Package Functions

 DummyActionImpl (Logger logger)
void throwExInInitPass1 (boolean throwEx)
int getCallsToReinit ()

Private Member Functions

void log (String action)

Private Attributes

Logger m_actionLogger
boolean m_throwExInInitPass1
int callsToReinit

Detailed Description

Test implementation of the state machine's action interface. Methods will be called by the state machine.


Constructor & Destructor Documentation

alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::DummyActionImpl Logger  logger  )  [inline, package]
 


Member Function Documentation

int alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::getCallsToReinit  )  [inline, package]
 

Allows the tests to check how often reinit has been called. : better use a real sync mechanism so that test can wait till the method was called, or fail with a time out.

synchronized void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::initSubsysPass1  )  throws AcsStateActionException [inline]
 

Implements alma::ACS::MasterComponentImpl::statemachine::AlmaSubsystemActions.

synchronized void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::initSubsysPass2  )  [inline]
 

Implements alma::ACS::MasterComponentImpl::statemachine::AlmaSubsystemActions.

void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::log String  action  )  [inline, private]
 

synchronized void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::reinitSubsystem  )  [inline]
 

Implements alma::ACS::MasterComponentImpl::statemachine::AlmaSubsystemActions.

synchronized void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::shutDownSubsysPass1  )  [inline]
 

Implements alma::ACS::MasterComponentImpl::statemachine::AlmaSubsystemActions.

synchronized void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::shutDownSubsysPass2  )  [inline]
 

Implements alma::ACS::MasterComponentImpl::statemachine::AlmaSubsystemActions.

void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::throwExInInitPass1 boolean  throwEx  )  [inline, package]
 

Determines the optional test feature of letting initSubsysPass1() throw an exception.


Member Data Documentation

int alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::callsToReinit [private]
 

Logger alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::m_actionLogger [private]
 

boolean alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::m_throwExInInitPass1 [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:54:21 2009 for ACS Java API by doxygen 1.3.8