com.ibm.commerce.server
Interface ComponentConfiguration

All Known Implementing Classes:
MessageMapperGroup, RulesSystemComponentConfiguration

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.


Method Summary
 void destroy()
          This destroy method will be called when the request servlet is stopped or destroyed.
 void enable(boolean val)
          This method is used to dynamically enable or disable a component.
 void init(org.w3c.dom.Element node)
          The initilization method for the component.
 

Method Detail

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
This method is used to dynamically enable or disable a component.

Parameters:
val - boolean true - enable component, false - disable component

init

public void init(org.w3c.dom.Element node)
          throws java.lang.Exception
The initilization method for 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