Top Description Fields Constructors Methods
org.apache.catalina.startup

public Class CopyParentClassLoaderRule

extends Rule
Class Inheritance
Imports
java.lang.reflect.Method, org.apache.catalina.Container, org.apache.tomcat.util.digester.Rule, org.xml.sax.Attributes

Rule that copies the parentClassLoader property from the next-to-top item on the stack (which must be a Container) to the top item on the stack (which must also be a Container).
Author
Craig R. McClanahan

Field Summary

Inherited from org.apache.tomcat.util.digester.Rule:
digesternamespaceURIsm

Constructor Summary

AccessConstructor and Description
public
CopyParentClassLoaderRule()

Construct a new instance of this Rule.

Method Summary

Modifier and TypeMethod and Description
public void
begin(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
,
Attributes
The attributes of this element
attributes
)

Overrides org.apache.tomcat.util.digester.Rule.begin.

Handle the beginning of an XML element.

Inherited from org.apache.tomcat.util.digester.Rule:
bodyendfinishgetDigestergetNamespaceURIsetDigestersetNamespaceURI

Constructor Detail

CopyParentClassLoaderRuleback to summary
public CopyParentClassLoaderRule()

Construct a new instance of this Rule.

Method Detail

beginback to summary
public void begin(String namespace, String name, Attributes attributes) throws Exception

Overrides org.apache.tomcat.util.digester.Rule.begin.

Handle the beginning of an XML element.

Parameters
namespace:String

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

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

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

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

attributes:Attributes

The attributes of this element

Annotations
@Override
Exceptions
Exception:
if a processing error occurs