Package org.apache.log4j.xml
Class DOMConfigurator
java.lang.Object
org.apache.log4j.xml.DOMConfigurator
- All Implemented Interfaces:
Configurator
-
Field Summary
Fields inherited from interface org.apache.log4j.spi.Configurator
INHERITED, NULL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
static void
static void
configureAndWatch
(String configFilename) static void
configureAndWatch
(String configFilename, long delay) void
doConfigure
(InputStream inputStream, LoggerRepository repository) void
doConfigure
(Reader reader, LoggerRepository repository) void
doConfigure
(String filename, LoggerRepository repository) void
doConfigure
(URL url, LoggerRepository repository) Interpret a resource pointed by a URL and set up log4j accordingly.void
doConfigure
(Element element, LoggerRepository repository) static String
subst
(String value, Properties props)
-
Constructor Details
-
DOMConfigurator
public DOMConfigurator()
-
-
Method Details
-
configure
-
configure
- Throws:
FactoryConfigurationError
-
configure
- Throws:
FactoryConfigurationError
-
configureAndWatch
-
configureAndWatch
-
doConfigure
-
doConfigure
public void doConfigure(InputStream inputStream, LoggerRepository repository) throws FactoryConfigurationError - Throws:
FactoryConfigurationError
-
doConfigure
public void doConfigure(Reader reader, LoggerRepository repository) throws FactoryConfigurationError - Throws:
FactoryConfigurationError
-
doConfigure
-
doConfigure
Description copied from interface:Configurator
Interpret a resource pointed by a URL and set up log4j accordingly. The configuration is done relative to thehierarchy
parameter.- Specified by:
doConfigure
in interfaceConfigurator
- Parameters:
url
- The URL to parserepository
- The hierarchy to operation upon.
-
subst
-