org.apache.catalina.startup
public class LifecycleListenerRule extends Rule
Rule that creates a new LifecycleListener
instance,
and associates it with the top object on the stack (which must
implement LifecycleListener
).
Constructor Summary | |
---|---|
LifecycleListenerRule(String listenerClass, String attributeName)
Construct a new instance of this Rule.
|
Method Summary | |
---|---|
void | begin(String namespace, String name, Attributes attributes)
Handle the beginning of an XML element.
|
Parameters: listenerClass Default name of the LifecycleListener implementation class to be created attributeName Name of the attribute that optionally includes an override name of the LifecycleListener class
Parameters: attributes The attributes of this element
Throws: Exception if a processing error occurs