org.apache.log4j.spi

Interface Configurator

public interface Configurator

Implemented by classes capable of configuring log4j using a URL.

Since: 1.0

Author: Anders Kristensen

Field Summary
static StringINHERITED
Special level value signifying inherited behaviour.
static StringNULL
Special level signifying inherited behaviour, same as {@link #INHERITED}.
Method Summary
voiddoConfigure(URL url, LoggerRepository repository)
Interpret a resource pointed by a URL and set up log4j accordingly.

Field Detail

INHERITED

public static final String INHERITED
Special level value signifying inherited behaviour. The current value of this string constant is inherited. {@link #NULL} is a synonym.

NULL

public static final String NULL
Special level signifying inherited behaviour, same as {@link #INHERITED}. The current value of this string constant is null.

Method Detail

doConfigure

public void doConfigure(URL url, LoggerRepository repository)
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 hierarchy to operation upon.

Copyright 2000-2005 Apache Software Foundation.