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ü
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JoranConfigurator
public JoranConfigurator()
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 parserepository
- 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()
Copyright 2000-2003 Apache Software Foundation.