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

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(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. NULL is a synonym.

See Also:
Constant Field Values

NULL

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

See Also:
Constant Field Values
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



Copyright © 2000 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.