public interface ComponentConfiguration
init()
method 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.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
This method will be called when the request servlet is stopped or destroyed.
|
void |
enable(boolean val)
This method dynamically enables or disables a component.
|
void |
init(org.w3c.dom.Element node)
This method initializes the component.
|
static final java.lang.String COPYRIGHT
void destroy()
void enable(boolean val) throws java.lang.Exception
val
- A boolean
value; true if the component is to be enabled and false if is to be disabled.java.lang.Exception
void init(org.w3c.dom.Element node) throws java.lang.Exception
node
- A dom.Element
node with the parameters for the component. It is null
if no property is present.java.lang.Exception