@Plugin(name="Log4j1XmlConfigurationFactory", category="ConfigurationFactory") public class XmlConfigurationFactory extends ConfigurationFactory
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
DEFAULT_PREFIX
File name prefix for standard configurations.
|
private static Logger |
LOGGER |
protected static java.lang.String |
TEST_PREFIX
File name prefix for test configurations.
|
AUTHORIZATION_PROVIDER, CATEGORY, CONFIGURATION_FACTORY_PROPERTY, CONFIGURATION_FILE_PROPERTY, LOG4J1_CONFIGURATION_FILE_PROPERTY, LOG4J1_EXPERIMENTAL, LOG4J1_VERSION, LOG4J2_VERSION, substitutor
Constructor and Description |
---|
XmlConfigurationFactory() |
Modifier and Type | Method and Description |
---|---|
Configuration |
getConfiguration(LoggerContext loggerContext,
ConfigurationSource source) |
protected java.lang.String |
getDefaultPrefix() |
protected java.lang.String[] |
getSupportedTypes() |
protected java.lang.String |
getTestPrefix() |
protected java.lang.String |
getVersion() |
authorizationProvider, getAuthorizationProvider, getConfiguration, getConfiguration, getInputFromString, getInstance, isActive, removeConfigurationFactory, resetConfigurationFactory, setConfigurationFactory
newConfigurationBuilder, newConfigurationBuilder
private static final Logger LOGGER
protected static final java.lang.String TEST_PREFIX
protected static final java.lang.String DEFAULT_PREFIX
protected java.lang.String[] getSupportedTypes()
getSupportedTypes
in class ConfigurationFactory
public Configuration getConfiguration(LoggerContext loggerContext, ConfigurationSource source)
getConfiguration
in class ConfigurationFactory
protected java.lang.String getTestPrefix()
getTestPrefix
in class ConfigurationFactory
protected java.lang.String getDefaultPrefix()
getDefaultPrefix
in class ConfigurationFactory
protected java.lang.String getVersion()
getVersion
in class ConfigurationFactory