Package org.apache.catalina.startup
Class LifecycleListenerRule
- java.lang.Object
-
- org.apache.tomcat.util.digester.Rule
-
- org.apache.catalina.startup.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 implementLifecycleListener
).
-
-
Field Summary
-
Fields inherited from class org.apache.tomcat.util.digester.Rule
digester, namespaceURI
-
-
Constructor Summary
Constructors Constructor Description LifecycleListenerRule(Digester digester, String listenerClass, String attributeName)
Construct a new instance of this Rule.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
begin(Attributes attributes)
Handle the beginning of an XML element.-
Methods inherited from class org.apache.tomcat.util.digester.Rule
begin, body, body, end, end, finish, getDigester, getNamespaceURI, setDigester, setNamespaceURI
-
-
-
-
Constructor Detail
-
LifecycleListenerRule
public LifecycleListenerRule(Digester digester, String listenerClass, String attributeName)
Construct a new instance of this Rule.- Parameters:
digester
- Digester we are associated withlistenerClass
- Default name of the LifecycleListener implementation class to be createdattributeName
- Name of the attribute that optionally includes an override name of the LifecycleListener class
-
-
Method Detail
-
begin
public void begin(Attributes attributes) throws Exception
Handle the beginning of an XML element.
-
-