twitter4j.conf
Class ConfigurationContext

java.lang.Object
  extended by twitter4j.conf.ConfigurationContext

public final class ConfigurationContext
extends java.lang.Object

Static factory of Configuration. This class wraps ConfigurationFactory implementations.
By default, twitter4j.conf.PropertyConfigurationFactory will be used and can be changed with -Dtwitter4j.configurationFactory system property.

Author:
Yusuke Yamamoto - yusuke at mac.com

Field Summary
static java.lang.String CONFIGURATION_IMPL
           
static java.lang.String DEFAULT_CONFIGURATION_FACTORY
           
private static ConfigurationFactory factory
           
 
Constructor Summary
ConfigurationContext()
           
 
Method Summary
static Configuration getInstance()
           
static Configuration getInstance(java.lang.String configTreePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CONFIGURATION_FACTORY

public static final java.lang.String DEFAULT_CONFIGURATION_FACTORY
See Also:
Constant Field Values

CONFIGURATION_IMPL

public static final java.lang.String CONFIGURATION_IMPL
See Also:
Constant Field Values

factory

private static final ConfigurationFactory factory
Constructor Detail

ConfigurationContext

public ConfigurationContext()
Method Detail

getInstance

public static Configuration getInstance()

getInstance

public static Configuration getInstance(java.lang.String configTreePath)