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

cl::utfsm::samplingSystemUI::core::ComponentsManager Class Reference

List of all members.

Public Member Functions

String[] getComponentsName ()
 ComponentsManager (ContainerServices cServices) throws IllegalStateException
boolean componentExists (String componentName)
List< String > getComponentProperties (String componentName)
boolean propertyExists (String componentName, String propertyName)

Static Public Attributes

final String CORBALOC = System.getProperty("ACS.repository")
final String IDL_PROPERTY = "IDL:alma/ACS/Property:1.0"

Private Attributes

Repository rep = null
ORB orb = null
ContainerServices cServices = null

Detailed Description

Class to manage the Components within a Container, checks for properties, existance of a given Component and existance of a given Porperty within a managed Component.


Constructor & Destructor Documentation

cl::utfsm::samplingSystemUI::core::ComponentsManager::ComponentsManager ContainerServices  cServices  )  throws IllegalStateException [inline]
 

Gets a list of Container Services and connects to the ACS repository.

Parameters:
cServices List of Container services


Member Function Documentation

boolean cl::utfsm::samplingSystemUI::core::ComponentsManager::componentExists String  componentName  )  [inline]
 

Verifies if a component exists by name in the container.

Parameters:
componentName string with the component name.
Returns:
boolean, true if the component exists or false otherwise.

List<String> cl::utfsm::samplingSystemUI::core::ComponentsManager::getComponentProperties String  componentName  )  [inline]
 

Gets a list of properties name from a given component.

Parameters:
componentName string with the component name.
Returns:
array of strings. FIXME: does it have to be case sensitive?? FIXME: Must handle the exception.

String [] cl::utfsm::samplingSystemUI::core::ComponentsManager::getComponentsName  )  [inline]
 

Retrieves an array of strings containing the components names in a container.

Returns:
array of strings.

boolean cl::utfsm::samplingSystemUI::core::ComponentsManager::propertyExists String  componentName,
String  propertyName
[inline]
 

Verify if a property exists by name for a given component name.

Parameters:
componentName string with the component name
propertName string with the property name
Returns:
boolean true if the component have the property


Member Data Documentation

final String cl::utfsm::samplingSystemUI::core::ComponentsManager::CORBALOC = System.getProperty("ACS.repository") [static]
 

ContainerServices cl::utfsm::samplingSystemUI::core::ComponentsManager::cServices = null [private]
 

final String cl::utfsm::samplingSystemUI::core::ComponentsManager::IDL_PROPERTY = "IDL:alma/ACS/Property:1.0" [static]
 

ORB cl::utfsm::samplingSystemUI::core::ComponentsManager::orb = null [private]
 

Repository cl::utfsm::samplingSystemUI::core::ComponentsManager::rep = null [private]
 


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