
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 | |
| static final String | CORBALOC = System.getProperty("ACS.repository") |
| static final String | IDL_PROPERTY = "IDL:alma/ACS/Property:1.0" |
Private Attributes | |
| Repository | rep = null |
| ORB | orb = null |
| ContainerServices | cServices = null |
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.
| cl::utfsm::samplingSystemUI::core::ComponentsManager::ComponentsManager | ( | ContainerServices | cServices | ) | throws IllegalStateException [inline] |
| boolean cl::utfsm::samplingSystemUI::core::ComponentsManager::componentExists | ( | String | componentName | ) | [inline] |
Verifies if a component exists by name in the container.
| componentName | string with the component name. |
References getComponentsName().
Referenced by cl::utfsm::samplingSystemUI::core::AcsInformation::componentExists(), getComponentProperties(), and cl::utfsm::samplingSystemUITestCase::ComponentsManagerTest::testComponent().
| List<String> cl::utfsm::samplingSystemUI::core::ComponentsManager::getComponentProperties | ( | String | componentName | ) | [inline] |
Gets a list of properties name from a given component.
| componentName | string with the component name. |
References componentExists(), cServices, alma::acs::container::ContainerServices::getComponentDescriptor(), alma::acs::component::ComponentDescriptor::getType(), IDL_PROPERTY, and rep.
Referenced by propertyExists().
| String [] cl::utfsm::samplingSystemUI::core::ComponentsManager::getComponentsName | ( | ) | [inline] |
Retrieves an array of strings containing the components names in a container.
References cServices, and alma::acs::container::ContainerServices::findComponents().
Referenced by componentExists().
| boolean cl::utfsm::samplingSystemUI::core::ComponentsManager::propertyExists | ( | String | componentName, | |
| String | propertyName | |||
| ) | [inline] |
Verify if a property exists by name for a given component name.
| componentName | string with the component name | |
| propertName | string with the property name |
References getComponentProperties().
Referenced by cl::utfsm::samplingSystemUI::core::AcsInformation::propertyExists(), and cl::utfsm::samplingSystemUITestCase::ComponentsManagerTest::testProperty().
final String cl::utfsm::samplingSystemUI::core::ComponentsManager::CORBALOC = System.getProperty("ACS.repository") [static] |
Referenced by ComponentsManager().
Referenced by ComponentsManager(), getComponentProperties(), and getComponentsName().
final String cl::utfsm::samplingSystemUI::core::ComponentsManager::IDL_PROPERTY = "IDL:alma/ACS/Property:1.0" [static] |
Referenced by getComponentProperties().
ORB cl::utfsm::samplingSystemUI::core::ComponentsManager::orb = null [private] |
Referenced by ComponentsManager().
Repository cl::utfsm::samplingSystemUI::core::ComponentsManager::rep = null [private] |
Referenced by ComponentsManager(), and getComponentProperties().
1.6.2