Log4j 1.3alpha-1

org.apache.log4j.joran
Class JoranConfigurator

java.lang.Object
  |
  +--org.apache.log4j.config.ConfiguratorBase
        |
        +--org.apache.log4j.joran.JoranConfigurator
All Implemented Interfaces:
Configurator

public class JoranConfigurator
extends ConfiguratorBase

A JoranConfigurator instance should not be used more than once to configure a LoggerRepository.

Author:
Ceki Gülcü

Field Summary
 
Fields inherited from class org.apache.log4j.config.ConfiguratorBase
DEBUG_KEY
 
Fields inherited from interface org.apache.log4j.spi.Configurator
INHERITED, NULL
 
Constructor Summary
JoranConfigurator()
           
 
Method Summary
 void doConfigure(InputSource inputSource, LoggerRepository repository)
          All doConfigure methods evenually call this form.
 void doConfigure(java.io.InputStream in, LoggerRepository repository)
          Configure a repository from the input stream passed as parameter
 void doConfigure(java.lang.String filename, LoggerRepository repository)
          Configure a repository from a configuration file passed as parameter.
 void doConfigure(java.net.URL url, LoggerRepository repository)
          Interpret a resource pointed by a URL and set up log4j accordingly.
 java.util.List getErrorList()
           
 ExecutionContext getExecutionContext()
           
protected  void selfInitialize()
           
 
Methods inherited from class org.apache.log4j.config.ConfiguratorBase
addError, attachListAppender, attachTemporaryConsoleAppender, detachListAppender, detachTemporaryConsoleAppender, dumpErrors, getLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoranConfigurator

public JoranConfigurator()
Method Detail

doConfigure

public void doConfigure(java.net.URL url,
                        LoggerRepository repository)
Description copied from interface: Configurator
Interpret a resource pointed by a URL and set up log4j accordingly. The configuration is done relative to the hierarchy parameter.

Parameters:
url - The URL to parse
repository - The repository to operate upon.

getErrorList

public java.util.List getErrorList()
Specified by:
getErrorList in class ConfiguratorBase

doConfigure

public void doConfigure(java.lang.String filename,
                        LoggerRepository repository)
Configure a repository from a configuration file passed as parameter.


doConfigure

public void doConfigure(java.io.InputStream in,
                        LoggerRepository repository)
Configure a repository from the input stream passed as parameter


doConfigure

public void doConfigure(InputSource inputSource,
                        LoggerRepository repository)
All doConfigure methods evenually call this form.


selfInitialize

protected void selfInitialize()

getExecutionContext

public ExecutionContext getExecutionContext()

Log4j 1.3alpha-1

Copyright 2000-2003 Apache Software Foundation.