com.bea.logging
Class HierarchyDOMConfigurator

java.lang.Object
  extended by org.apache.log4j.xml.DOMConfigurator
      extended by com.bea.logging.HierarchyDOMConfigurator

public class HierarchyDOMConfigurator
extends org.apache.log4j.xml.DOMConfigurator

Extension of DOMConfigurator that allows the configuration of a specific hierarchy of categories.


Constructor Summary
HierarchyDOMConfigurator(org.apache.log4j.spi.LoggerFactory categoryFactory)
          Creates a configurator that uses a specific category factory instance to create categories.
 
Method Summary
 void configure(Element element, org.apache.log4j.Hierarchy hierarchy)
          Configure log4j using a configuration element as defined in the log4j.dtd for the specified hierarchy.
protected  void parseCategory(Element categoryElement, org.apache.log4j.Hierarchy hierarchy)
          Used internally to parse a category element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HierarchyDOMConfigurator

public HierarchyDOMConfigurator(org.apache.log4j.spi.LoggerFactory categoryFactory)
Creates a configurator that uses a specific category factory instance to create categories.

Method Detail

configure

public void configure(Element element,
                      org.apache.log4j.Hierarchy hierarchy)
Configure log4j using a configuration element as defined in the log4j.dtd for the specified hierarchy.


parseCategory

protected void parseCategory(Element categoryElement,
                             org.apache.log4j.Hierarchy hierarchy)
Used internally to parse a category element.