@Plugin(name="Log4j1XmlConfigurationFactory", category="ConfigurationFactory") public class XmlConfigurationFactory extends org.apache.logging.log4j.core.config.ConfigurationFactory
Modifier and Type | Field and Description |
---|---|
protected static String |
DEFAULT_PREFIX
File name prefix for standard configurations.
|
static String |
FILE_EXTENSION |
protected static String |
TEST_PREFIX
File name prefix for test configurations.
|
Constructor and Description |
---|
XmlConfigurationFactory() |
Modifier and Type | Method and Description |
---|---|
org.apache.logging.log4j.core.config.Configuration |
getConfiguration(org.apache.logging.log4j.core.LoggerContext loggerContext,
org.apache.logging.log4j.core.config.ConfigurationSource source) |
protected String |
getDefaultPrefix() |
protected String[] |
getSupportedTypes() |
protected String |
getTestPrefix() |
protected String |
getVersion() |
authorizationProvider, getAuthorizationProvider, getConfiguration, getConfiguration, getInputFromString, getInstance, isActive, removeConfigurationFactory, resetConfigurationFactory, setConfigurationFactory
public static final String FILE_EXTENSION
protected static final String TEST_PREFIX
protected static final String DEFAULT_PREFIX
public XmlConfigurationFactory()
protected String[] getSupportedTypes()
getSupportedTypes
in class org.apache.logging.log4j.core.config.ConfigurationFactory
public org.apache.logging.log4j.core.config.Configuration getConfiguration(org.apache.logging.log4j.core.LoggerContext loggerContext, org.apache.logging.log4j.core.config.ConfigurationSource source)
getConfiguration
in class org.apache.logging.log4j.core.config.ConfigurationFactory
protected String getTestPrefix()
getTestPrefix
in class org.apache.logging.log4j.core.config.ConfigurationFactory
protected String getDefaultPrefix()
getDefaultPrefix
in class org.apache.logging.log4j.core.config.ConfigurationFactory
protected String getVersion()
getVersion
in class org.apache.logging.log4j.core.config.ConfigurationFactory
Copyright © 1999-1969 The 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.