public class Log4j1ConfigurationFactory extends ConfigurationFactory
Currently supports:
CATEGORY, CONFIGURATION_FACTORY_PROPERTY, CONFIGURATION_FILE_PROPERTY, DEFAULT_PREFIX, LOGGER, substitutor, TEST_PREFIX
Constructor and Description |
---|
Log4j1ConfigurationFactory() |
Modifier and Type | Method and Description |
---|---|
Configuration |
getConfiguration(ConfigurationSource source) |
Configuration |
getConfiguration(String name,
URI configLocation)
Returns the Configuration.
|
protected String[] |
getSupportedTypes() |
getConfiguration, getInputFromResource, getInputFromString, getInputFromUri, getInstance, isActive, removeConfigurationFactory, resetConfigurationFactory, setConfigurationFactory
newConfigurationBuilder, newConfigurationBuilder
public Configuration getConfiguration(ConfigurationSource source)
getConfiguration
in class ConfigurationFactory
public Configuration getConfiguration(String name, URI configLocation)
ConfigurationFactory
getConfiguration
in class ConfigurationFactory
name
- The configuration name.configLocation
- The configuration location.protected String[] getSupportedTypes()
getSupportedTypes
in class ConfigurationFactory
Copyright © 1999-2016 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.