public interface ScrServiceMBean
| Modifier and Type | Field and Description |
|---|---|
static String[] |
COMPONENT
The item names in the CompositeData representing a component
|
static String |
COMPONENT_ID |
static String |
COMPONENT_NAME |
static String |
COMPONENT_PROPERTIES |
static String |
COMPONENT_REFERENCES |
static String |
COMPONENT_STATE |
static String[] |
PROPERTY |
static String |
PROPERTY_KEY |
static String |
PROPERTY_VALUE |
static String[] |
REFERENCE |
static String |
REFERENCE_AVAILABILITY |
static String |
REFERENCE_AVAILABILITY_MANDATORY |
static String |
REFERENCE_AVAILABILITY_OPTIONAL |
static String |
REFERENCE_BOUND_SERVICES |
static String |
REFERENCE_CARDINALITY |
static String |
REFERENCE_CARDINALITY_MULTIPLE |
static String |
REFERENCE_CARDINALITY_SINGLE |
static String |
REFERENCE_NAME |
static String |
REFERENCE_POLICY |
static String |
REFERENCE_POLICY_DYNAMIC |
static String |
REFERENCE_POLICY_STATIC |
static String |
REFERENCE_SATISFIED |
| Modifier and Type | Method and Description |
|---|---|
void |
activateComponent(String componentName)
Activates a component that is currently in a DISABLED state.
|
int |
componentState(String componentName)
Returns the named components state
|
void |
deactivateComponent(String componentName)
Disables a component that is not in an ACTIVE state.
|
TabularData |
getComponents()
Displays a
TabularData with all the component details. |
boolean |
isComponentActive(String componentName)
Verifies if the named component is currently in an ACTIVE state.
|
String[] |
listComponents()
Presents a array of components currently registered with the SCR.
|
static final String COMPONENT_ID
static final String COMPONENT_NAME
static final String COMPONENT_STATE
static final String COMPONENT_PROPERTIES
static final String COMPONENT_REFERENCES
static final String PROPERTY_KEY
static final String PROPERTY_VALUE
static final String REFERENCE_NAME
static final String REFERENCE_SATISFIED
static final String REFERENCE_CARDINALITY
static final String REFERENCE_CARDINALITY_SINGLE
static final String REFERENCE_CARDINALITY_MULTIPLE
static final String REFERENCE_AVAILABILITY
static final String REFERENCE_AVAILABILITY_OPTIONAL
static final String REFERENCE_AVAILABILITY_MANDATORY
static final String REFERENCE_POLICY
static final String REFERENCE_POLICY_DYNAMIC
static final String REFERENCE_POLICY_STATIC
static final String REFERENCE_BOUND_SERVICES
static final String[] COMPONENT
static final String[] PROPERTY
static final String[] REFERENCE
TabularData getComponents()
TabularData with all the component details.String[] listComponents()
boolean isComponentActive(String componentName) throws MBeanException
componentName - the components nameExceptionMBeanExceptionint componentState(String componentName)
componentName - the components namevoid activateComponent(String componentName)
componentName - the components namevoid deactivateComponent(String componentName)
componentName - the components nameCopyright © 2007–2015 The Apache Software Foundation. All rights reserved.