Class ListenerCreateRule
java.lang.Object
org.apache.tomcat.util.digester.Rule
org.apache.tomcat.util.digester.ObjectCreateRule
org.apache.catalina.startup.ListenerCreateRule
Rule implementation that creates a server listener.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA listener that is optional and may not be available at runtime. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringManagerThe string manager for this class.Fields inherited from class ObjectCreateRule
attributeName, classNameFields inherited from class Rule
digester, namespaceURI -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbegin(String namespace, String name, Attributes attributes) Process the beginning of this element.Methods inherited from class ObjectCreateRule
end, getRealClassName, toStringMethods inherited from class Rule
body, finish, getDigester, getNamespaceURI, setDigester, setNamespaceURI
-
Field Details
-
sm
The string manager for this class.
-
-
Constructor Details
-
ListenerCreateRule
-
-
Method Details
-
begin
Description copied from class:ObjectCreateRuleProcess the beginning of this element.- Overrides:
beginin classObjectCreateRule- Parameters:
namespace- the namespace URI of the matching element, or an empty string if the parser is not namespace aware or the element has no namespacename- the local name if the parser is namespace aware, or just the element name otherwiseattributes- The attribute list for this element- Throws:
Exception- if an error occurs while processing the event
-