|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides runtime access to the set of all features for many objects within the cell.
Use the class ManagedObjectMetadataAccessorFactory
to obtain an instance
of ManagedObjectMetadataAccessor.
ManagedObjectMetadataAccessorFactory
Field Summary | |
---|---|
static java.lang.String |
CELL_NAME
Constant for the property name which is used to specify the cell name from which the ManagedObjectMetaDataAccessor instance being created is to obtain metadata. |
static java.lang.String |
WAS_REPOSITORY_ROOT
Constant for the property name which is used to specify the WebSphere repository root. |
Method Summary | |
---|---|
java.util.Properties |
getMetadataProperties(java.lang.String nodeName)
Obtains all metadata for the specified node. |
java.lang.String |
getMetadataProperty(java.lang.String nodeName,
java.lang.String propertyName)
Obtains metadata with the specified key for the specified node. |
Field Detail |
public static final java.lang.String WAS_REPOSITORY_ROOT
To specify the WebSphere repository root directory, include this property setting
in the java.util.Properties instance passed to the factory method
ManagedObjectMetadataAccessorFactory.createAccessor(Properties)
.
in order to create a ManagedObjectMetadataAccessor instance.
This constant is set to ConfigRepository.REPOSITORY_ROOT_DIR_KEY
and is
defined in this class as a convenience. The actual value for this constant is
"was.repository.root".
ManagedObjectMetadataAccessorFactory
,
ConfigRepository.REPOSITORY_ROOT_DIR_KEY
,
Constant Field Valuespublic static final java.lang.String CELL_NAME
This property must exist in the set of properties passed to the factory method
ManagedObjectMetadataAccessorFactory.createAccessor(Properties)
in order to create a ManagedObjectMetadataAccessor instance.
The value of this constant is "local.cell".
ManagedObjectMetadataAccessorFactory
,
Constant Field ValuesMethod Detail |
public java.util.Properties getMetadataProperties(java.lang.String nodeName) throws AdminException
nodeName
- The name of the node for which data is to be retreived.
AdminException
- Metadata for the specified node could not be obtained or
an input value was invalid.public java.lang.String getMetadataProperty(java.lang.String nodeName, java.lang.String propertyName) throws AdminException
nodeName
- The name of the node for which data is to be retreived.propertyName
- Metadata property name.
AdminException
- Specified metadata could not be obtained or
an input value was invalid.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |