wc-server.xml need to be updated with the new component:
<Components>
<component compclassname="com.ext.common.configuration.EXTStoreConfigUtilityEnvironment"
enable="true" name="update each environment specific configuration values."/>
</Components>
This is extensively useful for taxware or environment specific components update on each environment. You can load environment specific information on server start. This is loaded into the memory on server start.
Create a new class implementing the ComponentConfiguration:
package com.ext.common.configuration.EXTStoreConfigUtilityEnvironment
public class EXTStoreConfigUtilityEnvironment
implements ComponentConfiguration {
public void destroy() {
//Do Nothing
}
public void enable(boolean enable) throws Exception {
//Do nothing
}
* Main method to perform the action of running all the queries
*/
public void init(Element arg0) throws Exception {
}
}
Websphere commerce server Online Training, http://www.21cssindia.com/courses/webspere-commerce-server-online-training-200.html Websphere commerce server Online Training, Websphere commerce server Training, Websphere commerce server, Websphere commerce server Online Training| Websphere commerce server Training| Websphere commerce server| "Courses at 21st Century Software Solutions
ReplyDeleteTalend Online Training -Hyperion Online Training - IBM Unica Online Training - Siteminder Online Training - SharePoint Online Training - Informatica Online Training - SalesForce Online Training - Many more… | Call Us +917386622889 - +919000444287 - contact@21cssindia.com
Visit: http://www.21cssindia.com/courses.html"