com.ibm.wsspi.management.metadata
Interface ManagedObjectMetadataCollectorManager
- public interface ManagedObjectMetadataCollectorManager
It is the responsibility of each WebSphere extension product to invoke the collector
manager as a profile action when that extension is added to or removed from a
profile. See ManagedObjectMetadataCollector
for the pre-defined actions
used to augment and remove extensions.
Field Summary
Modifier and Type | Field and Description |
---|---|
|
CELL_NAME
Constant for the property name which is used to specify the cell name
from which a ManagedObjectMetaDataCollectorManager instance being created is to
obtain metadata.
|
|
NODE_NAME
Constant for the property name which is used to specify the node name
from which a ManagedObjectMetaDataCollectorManager instance being created is to
obtain metadata.
|
|
USER_INSTALL_ROOT
Constant for the property name which is used to specify the root directory of the
WebSphere profile for which node metadata is being collected.
|
|
WAS_INSTALL_ROOT
Constant for the property name which is used to specify the WebSphere installation
root directory for the node for which metadata is being collected.
|
|
WAS_REPOSITORY_ROOT
Constant for the property name which is used to specify the WebSphere repository
root.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
updateMetadata(java.lang.String action,java.util.Hashtable actionParameters)
Collect all node capabilities and save them in the node's configuration repository
and optionally send them to the Deployment Manager to save in the master configuration
repository.
|
Field Detail
WAS_REPOSITORY_ROOT
- static final java.lang.String WAS_REPOSITORY_ROOT
ManagedObjectMetadataAccessorFactory
,
ConfigRepository.REPOSITORY_ROOT_DIR_KEY
,
Constant Field ValuesCELL_NAME
- static final java.lang.String CELL_NAME
This property can be specified in the set of properties passed to the factory method
ManagedObjectMetadataCollectorManagerFactory.createCollectorManager(Properties)
in order to create a ManagedObjectMetadataCollectorManager instance.
The value of this constant is "local.cell".
NODE_NAME
- static final java.lang.String NODE_NAME
This property can be specified in the set of properties passed to the factory method
ManagedObjectMetadataCollectorManagerFactory.createCollectorManager(Properties)
in order to create a ManagedObjectMetadataCollectorManager instance.
The value of this constant is "local.node".
USER_INSTALL_ROOT
- static final java.lang.String USER_INSTALL_ROOT
This property can be specified in the set of properties passed to the factory method
ManagedObjectMetadataCollectorManagerFactory.createCollectorManager(Properties)
in order to create a ManagedObjectMetadataCollectorManager instance.
The value of this constant is "user.install.root".
WAS_INSTALL_ROOT
- static final java.lang.String WAS_INSTALL_ROOT
This property can be specified in the set of properties passed to the factory method
ManagedObjectMetadataCollectorManagerFactory.createCollectorManager(Properties)
in order to create a ManagedObjectMetadataCollectorManager instance.
The value of this constant is "was.install.root".
Method Detail
updateMetadata
- java.util.Properties updateMetadata( java.lang.String action,
- java.util.Hashtable actionParameters)
- throws com.ibm.websphere.management.exception.AdminException
action
- The action being performed. The action is passed to metadata
collectors and they will update the metadata in the context of the
specified action actionParameters
- Parameters related to the specified action. This parameter
is for input only. A null value indicates that there are no action
parameters set. com.ibm.websphere.management.exception.AdminException
- if an error occurred during metadata collection process, or
an attempt was made to send collected metadata to the Deployment
Manager and the attempt failed.
To specify the WebSphere repository root directory, include this property setting in the java.util.Properties instance passed to the factory method
ManagedObjectMetadataCollectorManagerFactory.createCollectorManager(Properties)
. in order to create a ManagedObjectMetadataCollectorManager 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".