com::cosylab::acs::maci::manager::app::ManagerEngine Class Reference

Collaboration diagram for com::cosylab::acs::maci::manager::app::ManagerEngine:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ManagerEngine (ManagerShutdown shutdownImplementation)
void destroy ()
void initialize ()
int getNumberOfPendingRequests ()
Logger getLogger ()

Private Member Functions

void initializeManager () throws Throwable
void destroyManager () throws Exception
void initializeShutdownHook ()

Private Attributes

ManagerImpl manager = null
ManagerProxyImpl managerProxy = null
POA managerPOA = null
si.ijs.maci.Manager managerReference = null
ManagerShutdown shutdownImplementation = null
String recoveryLocation = null
Logger logger = Logger.global
DefaultCORBAService corbaService = null

Static Private Attributes

static final String MANAGER_DOMAIN = ""
static final byte[] MANAGER_ID = { 'M', 'a', 'n', 'a', 'g', 'e', 'r' }
static final String RECOVERY_DIR_NAME = "Manager_Recovery"

Detailed Description

Engine of the Manager GUI application.

Author:
Matej Sekoranja (matej.sekoranja@cosylab.com)
Version:
@VERSION@

Constructor & Destructor Documentation

com::cosylab::acs::maci::manager::app::ManagerEngine::ManagerEngine ( ManagerShutdown  shutdownImplementation  )  [inline]

Constructor for ManagerEngine.

Parameters:
shutdownImplementation implementation of the shutdown method.

Member Function Documentation

void com::cosylab::acs::maci::manager::app::ManagerEngine::destroy (  )  [inline]
void com::cosylab::acs::maci::manager::app::ManagerEngine::destroyManager (  )  throws Exception [inline, private]
Logger com::cosylab::acs::maci::manager::app::ManagerEngine::getLogger (  )  [inline]

Get logger.

Returns:
logger.

References logger.

int com::cosylab::acs::maci::manager::app::ManagerEngine::getNumberOfPendingRequests (  )  [inline]
void com::cosylab::acs::maci::manager::app::ManagerEngine::initialize (  )  [inline]
void com::cosylab::acs::maci::manager::app::ManagerEngine::initializeManager (  )  throws Throwable [inline, private]
void com::cosylab::acs::maci::manager::app::ManagerEngine::initializeShutdownHook (  )  [inline, private]

Initialize shutdown hook (CTRL-C signal).

Manager shitdown hook thread implementation.

References com::cosylab::acs::maci::manager::ManagerShutdown::isShutdownInProgress(), com::cosylab::acs::maci::manager::ManagerShutdown::shutdown(), and shutdownImplementation.

Referenced by initialize().


Member Data Documentation

CORBA service.

Referenced by destroyManager(), and initializeManager().

Logger. Default logger is global logger.

Referenced by destroy(), destroyManager(), getLogger(), initialize(), and initializeManager().

Implementation of the Manager.

Referenced by destroyManager(), and initializeManager().

Manager domain (empty until manager federation is implemented).

Referenced by initializeManager().

final byte [] com::cosylab::acs::maci::manager::app::ManagerEngine::MANAGER_ID = { 'M', 'a', 'n', 'a', 'g', 'e', 'r' } [static, private]

CORBA Manager Servant ID.

Referenced by destroyManager(), and initializeManager().

Manager POA.

Referenced by destroyManager(), and initializeManager().

Manager CORBA Proxy implementation.

Referenced by getNumberOfPendingRequests(), and initializeManager().

Manager reference.

Referenced by destroyManager(), and initializeManager().

final String com::cosylab::acs::maci::manager::app::ManagerEngine::RECOVERY_DIR_NAME = "Manager_Recovery" [static, private]

Directory name under ACS.temp where recovery fieles are stored

Referenced by initializeManager().

Recovery files directory.

Referenced by destroyManager(), and initializeManager().

Implementation of the shutdown method.

Referenced by initializeManager(), and initializeShutdownHook().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2