|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.wsspi.management.metadata.ManagedObjectMetadataCollectorImplBase
public abstract class ManagedObjectMetadataCollectorImplBase
This abstract class is the ground implementation of ManagedObjectMetadataCollector for WebSphere stack product and feature packs. It contains all programming logics of the profile augmentation and metadata collection, that are common for the stack product or feature packs. As a result, each implementation only needs to add its edtion by providing the stack product or feature pack specific string definitions and implementing their getters.
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
Field Summary | |
---|---|
static java.lang.String |
ACTION_PARAM_PROFILE_TYPE
|
static java.lang.String[] |
PROFILE_TYPES
|
Fields inherited from interface com.ibm.wsspi.management.metadata.ManagedObjectMetadataCollector |
---|
ACTION_ADD_EXTENSION, ACTION_COLLECT_METADATA, ACTION_REMOVE_EXTENSION, PARAM_EXTENSION_ID |
Constructor Summary | |
---|---|
ManagedObjectMetadataCollectorImplBase(java.util.Properties inputProps)
Constructor. |
Method Summary | |
---|---|
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 metdata property, com.ibm.websphere.deployed.features (profile augmentation action), or sets metadata properties defined for the feature pack or stack product (metadata collection action). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ACTION_PARAM_PROFILE_TYPE
public static final java.lang.String[] PROFILE_TYPES
Constructor Detail |
---|
public ManagedObjectMetadataCollectorImplBase(java.util.Properties inputProps)
inputProps
- Data required to locate metadata.Method Detail |
---|
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
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |