Configurator (Apache Log4j 1.2.17 API) (original) (raw)



org.apache.log4j.spi

Interface Configurator

All Known Implementing Classes:

DefaultLF5Configurator, DOMConfigurator, PropertyConfigurator, ReloadingPropertyConfigurator


public interface Configurator

Implemented by classes capable of configuring log4j using a URL.

Since:

1.0

Author:

Anders Kristensen


Field Summary
static String INHERITED Special level value signifying inherited behaviour.
static String NULL Special level signifying inherited behaviour, same as INHERITED.
Method Summary
void [doConfigure](../../../../org/apache/log4j/spi/Configurator.html#doConfigure%28java.io.InputStream, org.apache.log4j.spi.LoggerRepository%29)(InputStream inputStream,LoggerRepository repository) Interpret a resource pointed by a InputStream and set up log4j accordingly.
void [doConfigure](../../../../org/apache/log4j/spi/Configurator.html#doConfigure%28java.net.URL, org.apache.log4j.spi.LoggerRepository%29)(URL url,LoggerRepository repository) Interpret a resource pointed by a URL and set up log4j accordingly.
Field Detail

INHERITED

static final String INHERITED

Special level value signifying inherited behaviour. The current value of this string constant is inherited. NULL is a synonym.

See Also:

Constant Field Values


NULL

static final String NULL

Special level signifying inherited behaviour, same as INHERITED. The current value of this string constant isnull.

See Also:

Constant Field Values

Method Detail

doConfigure

void doConfigure(InputStream inputStream, LoggerRepository repository)

Interpret a resource pointed by a InputStream and set up log4j accordingly. The configuration is done relative to the hierarchy parameter.

Parameters:

inputStream - The InputStream to parse

repository - The hierarchy to operation upon.

Since:

1.2.17


doConfigure

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 © 1999-2012 Apache Software Foundation. All Rights Reserved.