Top Description Fields Constructors Methods
org.apache.tomcat.util.descriptor.web

pack-priv final Class LifecycleCallbackRule

Located in compilation unit of org.apache.tomcat.util.descriptor.web.WebRuleSet.

extends CallMethodRule
Class Inheritance

A rule that fails if more than one post construct or pre destroy methods are configured per class.

Field Summary

Modifier and TypeField and Description
private final boolean
Inherited from org.apache.tomcat.util.digester.CallMethodRule:
bodyTextmethodNameparamCountparamTypestargetOffsetuseExactMatch

Constructor Summary

AccessConstructor and Description
pack-priv
LifecycleCallbackRule(String methodName, int paramCount, boolean postConstruct)

Method Summary

Modifier and TypeMethod and Description
public void
end(String
the namespace URI of the matching element, or an empty string if the parser is not namespace aware or the element has no namespace
namespace
,
String
the local name if the parser is namespace aware, or just the element name otherwise
name
)

Overrides org.apache.tomcat.util.digester.CallMethodRule.end.

Process the end of this element.

Inherited from org.apache.tomcat.util.digester.CallMethodRule:
beginbodyfinishgetUseExactMatchprocessMethodCallResultsetUseExactMatchtoString

Field Detail

postConstructback to summary
private final boolean postConstruct

Constructor Detail

LifecycleCallbackRuleback to summary
pack-priv LifecycleCallbackRule(String methodName, int paramCount, boolean postConstruct)

Method Detail

endback to summary
public void end(String namespace, String name) throws Exception

Overrides org.apache.tomcat.util.digester.CallMethodRule.end.

Doc from org.apache.tomcat.util.digester.CallMethodRule.end.

Process the end of this element.

Parameters
namespace:String

the namespace URI of the matching element, or an empty string if the parser is not namespace aware or the element has no namespace

name:String

the local name if the parser is namespace aware, or just the element name otherwise

Annotations
@Override
Exceptions
Exception:

Doc from org.apache.tomcat.util.digester.Rule.end.

if an error occurs while processing the event