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


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(InputSource 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(InputSource 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.