@Plugin(name="XmlConfigurationFactory", category="ConfigurationFactory") public class XmlConfigurationFactory extends ConfigurationFactory
| Modifier and Type | Field and Description |
|---|---|
static String[] |
SUFFIXES
Valid file extensions for XML files.
|
AUTHORIZATION_PROVIDER, CATEGORY, CONFIGURATION_FACTORY_PROPERTY, CONFIGURATION_FILE_PROPERTY, DEFAULT_PREFIX, LOGGER, substitutor, TEST_PREFIX| Constructor and Description |
|---|
XmlConfigurationFactory() |
| Modifier and Type | Method and Description |
|---|---|
Configuration |
getConfiguration(LoggerContext loggerContext,
ConfigurationSource source)
Returns the Configuration.
|
String[] |
getSupportedTypes()
Returns the file suffixes for XML files.
|
getAuthorizationProvider, getConfiguration, getConfiguration, getInputFromString, getInstance, isActive, removeConfigurationFactory, resetConfigurationFactory, setConfigurationFactorynewConfigurationBuilder, newConfigurationBuilderpublic static final String[] SUFFIXES
public Configuration getConfiguration(LoggerContext loggerContext, ConfigurationSource source)
getConfiguration in class ConfigurationFactoryloggerContext - The logger context.source - The InputSource.public String[] getSupportedTypes()
getSupportedTypes in class ConfigurationFactoryCopyright © 1999-2021 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.