org.apache.logging.log4j.core.config.xml
Class XmlConfigurationFactory
java.lang.Object
org.apache.logging.log4j.core.config.ConfigurationFactory
org.apache.logging.log4j.core.config.xml.XmlConfigurationFactory
- Direct Known Subclasses:
- AbstractSocketServer.ServerConfigurationFactory
@Plugin(name="XmlConfigurationFactory",
category="ConfigurationFactory")
public class XmlConfigurationFactory
- extends ConfigurationFactory
Factory to construct an XmlConfiguration.
Field Summary |
static String[] |
SUFFIXES
Valid file extensions for XML files. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUFFIXES
public static final String[] SUFFIXES
- Valid file extensions for XML files.
XmlConfigurationFactory
public XmlConfigurationFactory()
getConfiguration
public Configuration getConfiguration(ConfigurationSource source)
- Returns the Configuration.
- Specified by:
getConfiguration
in class ConfigurationFactory
- Parameters:
source
- The InputSource.
- Returns:
- The Configuration.
getSupportedTypes
public String[] getSupportedTypes()
- Returns the file suffixes for XML files.
- Specified by:
getSupportedTypes
in class ConfigurationFactory
- Returns:
- An array of File extensions.
Copyright © 1999-2014 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.