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

cl::utfsm::samplingSystemUI::core::SamplingManager Class Reference

Collaboration diagram for cl::utfsm::samplingSystemUI::core::SamplingManager:

Collaboration graph
[legend]
List of all members.

Public Member Functions

synchronized SampObj getSamplingObj (SampDetail managerDef) throws CouldntAccessComponentEx, TypeNotSupportedEx
synchronized Boolean checkObj (SampDetail managerDef)

Static Public Member Functions

synchronized SamplingManager getInstance (String managerName) throws SamplingManagerException
synchronized SamplingManager getInstance ()

Protected Member Functions

void finalize ()

Package Attributes

Hashtable< SampDetail, SampObjsamplingObjects = null
AcsInformation info = null

Private Member Functions

 SamplingManager (String managerName) throws SamplingManagerException

Private Attributes

String managerName = ""

Static Private Attributes

SamplingManager _instance = null

Detailed Description

Probaly this class should have another name, but it does manage the sampling system within this application. This class is a singleton. And holds references for each ACS sampling object. Each one of this objects is associated in hashTable with a sampling detail
See also:
SampDetail

SampObj


Constructor & Destructor Documentation

cl::utfsm::samplingSystemUI::core::SamplingManager::SamplingManager String  managerName  )  throws SamplingManagerException [inline, private]
 

Private constructor. This may only be called from within this class. This is done beacause this class is a singleton, so just one instance should be allowed.


Member Function Documentation

synchronized Boolean cl::utfsm::samplingSystemUI::core::SamplingManager::checkObj SampDetail  managerDef  )  [inline]
 

Check for a sampling detail, and return true if it a sampling object has been created for it.

Parameters:
managerDef ampling detail requested.
Returns:
true if it exists, or false if it does not.

void cl::utfsm::samplingSystemUI::core::SamplingManager::finalize  )  [inline, protected]
 

Finalizes the usage of all Components taken over by the Manager

synchronized SamplingManager cl::utfsm::samplingSystemUI::core::SamplingManager::getInstance  )  [inline, static]
 

synchronized SamplingManager cl::utfsm::samplingSystemUI::core::SamplingManager::getInstance String  managerName  )  throws SamplingManagerException [inline, static]
 

Singleton creator. This member calls the contructor and verifies that only one instance is allowed.

synchronized SampObj cl::utfsm::samplingSystemUI::core::SamplingManager::getSamplingObj SampDetail  managerDef  )  throws CouldntAccessComponentEx, TypeNotSupportedEx [inline]
 

Get or create a new Sampling object. This member will create a new sampling object for each distinc sampling detail. If the sampling detail already existes it will return the already created dampling object.

Parameters:
managerDef Sampling detail requested.
Returns:
a sampling object SampObj.
Exceptions:
CouldntAccessComponentEx 
TypeNotSupportedEx 


Member Data Documentation

SamplingManager cl::utfsm::samplingSystemUI::core::SamplingManager::_instance = null [static, private]
 

AcsInformation cl::utfsm::samplingSystemUI::core::SamplingManager::info = null [package]
 

String cl::utfsm::samplingSystemUI::core::SamplingManager::managerName = "" [private]
 

Hashtable<SampDetail,SampObj> cl::utfsm::samplingSystemUI::core::SamplingManager::samplingObjects = null [package]
 


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