public class ComponentsManager
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CORBALOC |
static java.lang.String |
IDL_PROPERTY |
| Constructor and Description |
|---|
ComponentsManager(ContainerServices cServices)
Gets a list of Container Services and connects to the ACS repository.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
componentExists(java.lang.String componentName)
Verifies if a component exists by name in the container.
|
java.util.List<java.lang.String> |
getComponentProperties(java.lang.String componentName)
Gets a list of properties name from a given component.
|
java.lang.String[] |
getComponentsName()
Retrieves an array of strings containing the components names in a container.
|
boolean |
propertyExists(java.lang.String componentName,
java.lang.String propertyName)
Verify if a property exists by name for a given component name.
|
public static final java.lang.String CORBALOC
public static final java.lang.String IDL_PROPERTY
public ComponentsManager(ContainerServices cServices) throws java.lang.IllegalStateException
cServices - List of Container servicesjava.lang.IllegalStateExceptionpublic java.lang.String[] getComponentsName()
public boolean componentExists(java.lang.String componentName)
componentName - string with the component name.public java.util.List<java.lang.String> getComponentProperties(java.lang.String componentName)
componentName - string with the component name.public boolean propertyExists(java.lang.String componentName,
java.lang.String propertyName)
componentName - string with the component namepropertName - string with the property name