org.apache.catalina.startup

Class LifecycleListenerRule

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
voidbegin(String namespace, String name, Attributes attributes)
Handle the beginning of an XML element.

Constructor Detail

LifecycleListenerRule

public LifecycleListenerRule(String listenerClass, String attributeName)
Construct a new instance of this Rule.

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

Method Detail

begin

public void begin(String namespace, String name, Attributes attributes)
Handle the beginning of an XML element.

Parameters: attributes The attributes of this element

Throws: Exception if a processing error occurs

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.