com.ibm.websphere.management.metadata

Class ManagedObjectMetadataAccessorFactory

  • java.lang.Object
    • com.ibm.websphere.management.metadata.ManagedObjectMetadataAccessorFactory
    • Constructor Detail

      • ManagedObjectMetadataAccessorFactory

        public ManagedObjectMetadataAccessorFactory()
    • Method Detail

      • createAccessor

        public static ManagedObjectMetadataAccessor createAccessor(java.util.Properties props)
                                                            throws AdminException
        Invoke this method to obtain a ManagedObjectMetadataAccessor instance.
        Parameters:
        props - A set of properties required to create a ManagedObjectMetadataAccessor instance. The expected properties are listed below:
        • ManagedObjectMetadataAccessor.WAS_REPOSITORY_ROOT (optional). The value of this property is root directory of the repository from which metadata is to be obtained. If this value is not specified, the value for the property in the set of System properties is used if it exists. If the factory is running in a WebSphere server process, the repository root does not need to be specified.
        • ManagedObjectMetadataAccessor.CELL_NAME (optional). The value of this property is the name of the cell for which metadata is to be obtained. If this value is not specified, the value for the property, local.cell, in the set of System properties is used if it exists. If the factory is running in a WebSphere server process, the cell name does not need to be specified. As a final fallback for no local.cell property setting, the cell name in the configuration is used if it is the only cell name listed under the cells directory under the repository root.

        If no properties are specified, props can be null.

        Throws:
        AdminException - Could not create a ManagedObjectMetadataAccessor instance.
        See Also:
        ManagedObjectMetadataAccessor.WAS_REPOSITORY_ROOT, ManagedObjectMetadataAccessor.CELL_NAME
IBM WebSphere Application ServerTM
Release 9.0