Managed object metadata
Information about a node, such as operating system platform and product features, is maintained in the configuration repository in the form of properties. As product features are installed on a node, new property settings are added. WAS system management uses the managed object metadata properties as follows:
- To display the node version in the console
- To ensure that new configuration types or attributes are not created or set on older release nodes
- To ensure that new resource types are not created on old release nodes
- To ensure that new applications are not installed on old release nodes because the old run time cannot support the new applications
Base properties
The following base property keys are defined for WebSphere Application Server:
com.ibm.websphere.baseProductVersion: The version of WebSphere Application Server that is installed.
com.ibm.websphere.nodeOperatingSystem: The operating system platform on which the node runs.
com.ibm.websphere.deployed.features: A list of features that extends a profile. An example of a feature is an console plug-in. Here are examples of metadata property values. The last item is split on multiple lines for printing purposes.
com.ibm.websphere.baseProductVersion=6.0.0.0 com.ibm.websphere.nodeOperatingSystem=os390 com.ibm.websphere.deployed.features= com.ibm.ws.base_6.0.0.0,com.ibm.ws.j2ee_6.0.0.0, com.ibm.ws.uddi_6.0.0.0,com.ibm.ws.wsgateway_6.0.0.0For detailed information on metadata properties, view the ManagedObjectMetadataHelper class in the Application Server API documentation.Accessing managed object metadata properties
An administrator can query managed object metadata through the wsadmin tool or Application Server APIs. They can additionally be viewed on the Node Installation properties administrative console panel. This article provides details on the Application Server API method. An accessor class is used to obtain the managed object metadata properties. An accessor instance is created through its factory. A helper class, which uses the accessor instance, makes it easy to query the base metadata properties. These classes are all part of the com.ibm.websphere.management.metadata package in the Application Server API documentation. The specific names of these classes are:
- com.ibm.websphere.management.metadata.ManagedObjectMetadataHelper
- com.ibm.websphere.management.metadata.ManagedObjectMetadataAccessor
- com.ibm.websphere.management.metadata.ManagedObjectMetadataAccessorFactory
Related tasks
Manage nodes Setting up the administrative architecture
Getting started with scripting
Use administrative programs (JMX)
Related Reference
Node installation properties