@Plugin(name="XmlConfigurationFactory", category="ConfigurationFactory") public class XmlConfigurationFactory extends ConfigurationFactory
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
SUFFIXES
Valid file extensions for XML files.
|
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.
|
java.lang.String[] |
getSupportedTypes()
Returns the file suffixes for XML files.
|
getConfiguration, getConfiguration, getInputFromString, getInstance, isActive, removeConfigurationFactory, resetConfigurationFactory, setConfigurationFactory
newConfigurationBuilder, newConfigurationBuilder
public static final java.lang.String[] SUFFIXES
public Configuration getConfiguration(LoggerContext loggerContext, ConfigurationSource source)
getConfiguration
in class ConfigurationFactory
loggerContext
- The logger context.source
- The InputSource.public java.lang.String[] getSupportedTypes()
getSupportedTypes
in class ConfigurationFactory