org.apache.logging.log4j.core.config
Class JSONConfigurationFactory

java.lang.Object
  extended by org.apache.logging.log4j.core.config.ConfigurationFactory
      extended by org.apache.logging.log4j.core.config.JSONConfigurationFactory

public class JSONConfigurationFactory
extends ConfigurationFactory


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.logging.log4j.core.config.ConfigurationFactory
ConfigurationFactory.ConfigurationSource
 
Field Summary
static String[] SUFFIXES
          The file extensions supported by this factory.
 
Fields inherited from class org.apache.logging.log4j.core.config.ConfigurationFactory
CONFIGURATION_FACTORY_PROPERTY, CONFIGURATION_FILE_PROPERTY, DEFAULT_PREFIX, LOGGER, TEST_PREFIX
 
Constructor Summary
JSONConfigurationFactory()
           
 
Method Summary
 Configuration getConfiguration(ConfigurationFactory.ConfigurationSource source)
           
 String[] getSupportedTypes()
           
protected  boolean isActive()
           
 
Methods inherited from class org.apache.logging.log4j.core.config.ConfigurationFactory
getConfiguration, getInputFromResource, getInputFromString, getInputFromURI, getInstance, removeConfigurationFactory, resetConfigurationFactory, setConfigurationFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUFFIXES

public static final String[] SUFFIXES
The file extensions supported by this factory.

Constructor Detail

JSONConfigurationFactory

public JSONConfigurationFactory()
Method Detail

isActive

protected boolean isActive()
Overrides:
isActive in class ConfigurationFactory

getConfiguration

public Configuration getConfiguration(ConfigurationFactory.ConfigurationSource source)
Specified by:
getConfiguration in class ConfigurationFactory

getSupportedTypes

public String[] getSupportedTypes()
Specified by:
getSupportedTypes in class ConfigurationFactory


Copyright © 1999-2012 Apache Software Foundation. All Rights Reserved. Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, and the Apache Logging project logo are trademarks of The Apache Software Foundation.