WebSphere Commerce EnterpriseWebSphere Commerce Professional

Resource bundle extension point

The IBM Sales Center resources plug-in centralizes the resources for the IBM Sales Center implementation plug-ins. This extension point allows others to provide custom resources specific to their needs. The base Sales Center resource bundle can be found in the resources folder in the com.ibm.commerce.telesales.resources plug-in. If a custom resource bundle declares the same key as the base resource bundle, then the custom resource will be used. Resources are accessed through the API provided by com.ibm.commerce.telesales.resources.Resources.

Identifier:

com.ibm.commerce.telesales.resources.resources

Description:

The IBM Sales Center resources plug-in centralizes the resources for the IBM Sales Center implementation plug-ins. This extension point allows others to provide custom resources specific to their needs. The base Sales Center resource bundle can be found in the resources folder in the com.ibm.commerce.telesales.resources plug-in. If a custom resource bundle declares the same key as the base resource bundle, then the custom resource will be used. Resources are accessed through the API provided by com.ibm.commerce.telesales.resources.Resources.

Configuration Markup:

<!ELEMENT extension ( resourceBundle*)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED>

  • point - The fully qualified identifier of the target extension point.
  • id - An optional identifier for the target extension point
  • name - An optional name for the extension instance

<!ELEMENT resourceBundle EMPTY>

<!ATTLIST resourceBundle

baseName CDATA #IMPLIED>

  • baseName - The resource bundle identifier and the fully qualified identifier of the resouce bundle to be used

Examples:

The following is an example for the resources extension point:


   
 <extension
       point=
 "com.ibm.commerce.telesales.resources.resources.resources"
 >
      
 <resourceBundle
         baseName=
 "com.mycompany.resources"
 >
      
 </resourceBundle>
   
 </extension>