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" |
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 |
Gets a list of Container Services and connects to the ACS repository.
| cServices | List of Container services |
References cl.utfsm.samplingSystemUI.core.ComponentsManager.CORBALOC.
| boolean cl.utfsm.samplingSystemUI.core.ComponentsManager.componentExists | ( | String | componentName | ) |
Verifies if a component exists by name in the container.
| componentName | string with the component name. |
References cl.utfsm.samplingSystemUI.core.ComponentsManager.getComponentsName().
Referenced by cl.utfsm.samplingSystemUI.core.AcsInformation.componentExists(), and cl.utfsm.samplingSystemUI.core.ComponentsManager.getComponentProperties().
| List<String> cl.utfsm.samplingSystemUI.core.ComponentsManager.getComponentProperties | ( | String | componentName | ) |
Gets a list of properties name from a given component.
| componentName | string with the component name. |
References cl.utfsm.samplingSystemUI.core.ComponentsManager.componentExists(), alma.acs.container.ContainerServices.getComponentDescriptor(), and alma.acs.component.ComponentDescriptor.getType().
Referenced by cl.utfsm.samplingSystemUI.core.ComponentsManager.propertyExists().
| String [] cl.utfsm.samplingSystemUI.core.ComponentsManager.getComponentsName | ( | ) |
Retrieves an array of strings containing the components names in a container.
References alma.acs.container.ContainerServices.findComponents().
Referenced by cl.utfsm.samplingSystemUI.core.ComponentsManager.componentExists().
| boolean cl.utfsm.samplingSystemUI.core.ComponentsManager.propertyExists | ( | String | componentName, | |
| String | propertyName | |||
| ) |
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 cl.utfsm.samplingSystemUI.core.ComponentsManager.getComponentProperties().
Referenced by cl.utfsm.samplingSystemUI.core.AcsInformation.propertyExists().
final String cl.utfsm.samplingSystemUI.core.ComponentsManager.CORBALOC = System.getProperty("ACS.repository") [static] |
final String cl.utfsm.samplingSystemUI.core.ComponentsManager.IDL_PROPERTY = "IDL:alma/ACS/Property:1.0" [static] |
1.7.0