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

alma::acs::container::ShutdownHook Class Reference

Collaboration diagram for alma::acs::container::ShutdownHook:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void setAcsContainer (AcsContainer acsContainer)

Protected Member Functions

void regularTermination ()
void interruptDetected ()

Package Functions

 ShutdownHook (Logger logger)

Private Attributes

AcsContainer m_acsContainer

Detailed Description

This class will be registered to the JVM Runtime as a shutdown thread to be run at shutdown, both for regular termination and for interruption like Ctrl-C (SIGINT).

TODO: look at void TerminationSignalHandler(int) from the C++ implementation, and figure out what else to do at shutdown.

Author:
hsommer


Constructor & Destructor Documentation

alma::acs::container::ShutdownHook::ShutdownHook Logger  logger  )  [inline, package]
 


Member Function Documentation

void alma::acs::container::ShutdownHook::interruptDetected  )  [inline, protected]
 

Tidying up when the JVM is about to terminate due to an interrupt signal

void alma::acs::container::ShutdownHook::regularTermination  )  [inline, protected]
 

void alma::acs::container::ShutdownHook::setAcsContainer AcsContainer  acsContainer  )  [inline]
 

Sets m_acsContainer.


Member Data Documentation

AcsContainer alma::acs::container::ShutdownHook::m_acsContainer [private]
 


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