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. |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Method Detail |
---|
public void destroy()
public void enable(boolean val) throws java.lang.Exception
val
- true if enables component; false if disables
componentjava.lang.Exception
public void init(org.w3c.dom.Element node) throws java.lang.Exception
node
- a dom element node with the parameters for the
component, null if no property is presentjava.lang.Exception