public class ProgrammableConfigurationFactory extends org.apache.logging.log4j.core.config.ConfigurationFactory
ProgrammableConfiguration
.CONFIGURATION_FACTORY_PROPERTY, CONFIGURATION_FILE_PROPERTY, DEFAULT_PREFIX, LOGGER, substitutor, TEST_PREFIX
Constructor and Description |
---|
ProgrammableConfigurationFactory(org.apache.logging.log4j.core.config.Configuration configuration)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.apache.logging.log4j.core.config.Configuration |
getConfiguration(org.apache.logging.log4j.core.config.ConfigurationSource source) |
org.apache.logging.log4j.core.config.Configuration |
getConfiguration(String name,
URI configLocation) |
protected String[] |
getSupportedTypes() |
void |
use()
Uses this configuration factory.
|
getInputFromResource, getInputFromString, getInputFromUri, getInstance, isActive, removeConfigurationFactory, resetConfigurationFactory, setConfigurationFactory
public ProgrammableConfigurationFactory(org.apache.logging.log4j.core.config.Configuration configuration)
configuration
- The configurationpublic void use()
public org.apache.logging.log4j.core.config.Configuration getConfiguration(org.apache.logging.log4j.core.config.ConfigurationSource source)
getConfiguration
in class org.apache.logging.log4j.core.config.ConfigurationFactory
public org.apache.logging.log4j.core.config.Configuration getConfiguration(String name, URI configLocation)
getConfiguration
in class org.apache.logging.log4j.core.config.ConfigurationFactory
protected String[] getSupportedTypes()
getSupportedTypes
in class org.apache.logging.log4j.core.config.ConfigurationFactory
Copyright © 2011-2016 Three Crickets LLC.