com.ibm.commerce.server
Interface ComponentConfiguration
- All Known Implementing Classes:
- CpgnLogRecommendationEventListener, CpgnStatsRecommendationEventListener, MessageMapperGroup, OrdersMgpPersistEventListener, PAStatsInvocationEventListener, PCStatsInvocationEventListener, PEStatsInvocationEventListener, RLPromotionComponentConfiguration, SAStatsInvocationEventListener
- public interface ComponentConfiguration
Defines the interface that has to be implemented by all components. During the initialization of the request servlet, the init() mehtod of each component defined in the configuration file will be called. During the destruction of the request servlet, the destroy() method of the component will be called.
Field Summary |
static java.lang.String |
COPYRIGHT
IBM copyright notice field. |
Method Summary |
void |
destroy()
This destroy method will be called when the request servlet is stopped or destroyed. |
void |
enable(boolean val)
Dynamically enable or disable a component. |
void |
init(org.w3c.dom.Element node)
Initilizes the component. |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM copyright notice field.
- See Also:
- Constant Field Values
destroy
public void destroy()
- This destroy method will be called when the request servlet is stopped or destroyed.
enable
public void enable(boolean val)
throws java.lang.Exception
- Dynamically enable or disable a component.
-
- Parameters:
- val - true if enables component; false if disables component
- Throws:
- java.lang.Exception
init
public void init(org.w3c.dom.Element node)
throws java.lang.Exception
- Initilizes the component. This method will be called during initializtion of the Request Servlet.
-
- Parameters:
- node - a dom element node with the parameters for the component, null if no property is present
- Throws:
- java.lang.Exception
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.