public abstract class ManagedObjectMetadataCollectorImplBase extends java.lang.Object implements ManagedObjectMetadataCollector
static final String PROPERTY_NAME_OF_PRODUCT_VERSION = "com.ibm.websphere.WebServicesFeaturePackProductVersion";
static final String PROPERTY_NAME_OF_PRODUCT_SHORTNAME = "com.ibm.websphere.WebServicesFeaturePackProductShortName";
static final String EXTENSION_ID = "webservices";
static final String [][] PRODUCT_IDs = { {"WEBSERVICES", "WS FEP"} };
static final String [] DEFAULT_DIR_FILTERs = new String [] {"com.ibm.ws.wsfp_"};
static final String [] DMGR_DIR_FILTERs = new String [] {"com.ibm.ws.wsfp_"};
static final String [] MANAGED_DIR_FILTERs = new String [] {"com.ibm.ws.wsfp_"};
protected boolean isProfileAugmentationRequired() {
return false;
}
For more details on the action processing, see documentation on the method
ManagedObjectMetadataCollector.updateMetadata().ManagedObjectMetadataCollector
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTION_PARAM_PROFILE_TYPE |
static java.lang.String[] |
PROFILE_TYPES |
ACTION_ADD_EXTENSION, ACTION_COLLECT_METADATA, ACTION_REMOVE_EXTENSION, PARAM_EXTENSION_ID
Constructor and Description |
---|
ManagedObjectMetadataCollectorImplBase(java.util.Properties inputProps)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.String[] |
getDefaultDirFilters()
This method gets the prefixes of the directories that contain the deployed features for
the "default" profile type of a stack product or feature pack under the directory
%WAS_INSTALL_ROOT%/features.
|
protected abstract java.lang.String[] |
getDmgrDirFilters()
This method gets the prefixes of the directories that contain the deployed features for
the "dmgr" profile type of a stack product or feature pack under the directory
%WAS_INSTALL_ROOT%/features.
|
protected abstract java.lang.String |
getExtensionID()
This method gets the extension id used to add or remove a metadata collector extension.
|
protected abstract java.lang.String[] |
getManagedDirFilters()
This method gets the prefixes of the directories that contain the deployed features for
the "managed" type of a stack product or feature pack under the directory
%WAS_INSTALL_ROOT%/features.
|
protected abstract java.lang.String |
getProdShortName_PropName()
This method gets the property name for the product short name of a stack product or
feature pack.
|
protected abstract java.lang.String[][] |
getProductIDs()
This method gets the list of the product ID for expected products and the corresponding
short names for a stack product or a feature pack.
|
protected abstract java.lang.String |
getProdVersion_PropName()
This method gets the property name for the product version of a stack product or feature pack.
|
protected boolean |
isProfileAugmentationRequired()
This method of "this" class return "true" always.
|
void |
updateMetadata(java.lang.String action,
java.util.Hashtable actionParams,
java.util.Properties metadata)
Depending on the specified action, this method appends to the metadata property,
com.ibm.websphere.deployed.features (profile augmentation action), or sets metadata
properties defined for the feature pack or stack product (metadata collection action).
|
public static final java.lang.String ACTION_PARAM_PROFILE_TYPE
public static final java.lang.String[] PROFILE_TYPES
public ManagedObjectMetadataCollectorImplBase(java.util.Properties inputProps)
inputProps
- Data required to locate metadata.protected abstract java.lang.String getProdVersion_PropName()
protected abstract java.lang.String getProdShortName_PropName()
protected abstract java.lang.String getExtensionID()
com.ibm.wsspi.management.metadata.ManagedObjectMetadataCollector.PARAM_EXTENSION_ID
protected abstract java.lang.String[][] getProductIDs()
protected abstract java.lang.String[] getDefaultDirFilters()
protected abstract java.lang.String[] getDmgrDirFilters()
protected abstract java.lang.String[] getManagedDirFilters()
protected boolean isProfileAugmentationRequired()
public void updateMetadata(java.lang.String action, java.util.Hashtable actionParams, java.util.Properties metadata) throws java.lang.Exception
updateMetadata
in interface ManagedObjectMetadataCollector
action
- The action being performed.actionParams
- Any parameters specific to the action. A null value
indicates that there are no action parameters set.metadata
- The node metadata to update according to the specified action.java.lang.Exception
- The collector could not complete the action processing successfully.ManagedObjectMetadataCollector.ACTION_ADD_EXTENSION
,
ManagedObjectMetadataCollector.ACTION_REMOVE_EXTENSION
,
ManagedObjectMetadataCollector.ACTION_COLLECT_METADATA