Top Fields Constructors Methods
com.mchange.v2.c3p0.cfg

public Class DefaultC3P0ConfigFinder

extends Object
implements C3P0ConfigFinder
Class Inheritance
All Implemented Interfaces
com.mchange.v2.c3p0.cfg.C3P0ConfigFinder
Imports
java.io.*, com.mchange.v2.log.*, java.util.HashMap, .Properties

Field Summary

Modifier and TypeField and Description
pack-priv static final String
pack-priv static final MLogger
pack-priv final boolean
pack-priv static final String
pack-priv static final String
pack-priv static final String

Constructor Summary

AccessConstructor and Description
public
DefaultC3P0ConfigFinder(boolean warn_of_xml_overrides)

public

Method Summary

Modifier and TypeMethod and Description
private static boolean
public C3P0Config
private boolean
private void
private void
mbOverrideWarning(String srcType, String srcName)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CLASSLOADER_RESOURCE_PREFIXback to summary
pack-priv static final String CLASSLOADER_RESOURCE_PREFIX
loggerback to summary
pack-priv static final MLogger logger
warn_of_xml_overridesback to summary
pack-priv final boolean warn_of_xml_overrides
XML_CFG_EXPAND_ENTITY_REFS_KEYback to summary
pack-priv static final String XML_CFG_EXPAND_ENTITY_REFS_KEY
XML_CFG_FILE_KEYback to summary
pack-priv static final String XML_CFG_FILE_KEY
XML_CFG_USE_PERMISSIVE_PARSER_KEYback to summary
pack-priv static final String XML_CFG_USE_PERMISSIVE_PARSER_KEY

Constructor Detail

DefaultC3P0ConfigFinderback to summary
public DefaultC3P0ConfigFinder(boolean warn_of_xml_overrides)
DefaultC3P0ConfigFinderback to summary
public DefaultC3P0ConfigFinder()

Method Detail

affirmativelyTrueback to summary
private static boolean affirmativelyTrue(String propStr)
findConfigback to summary
public C3P0Config findConfig() throws Exception

Implements com.mchange.v2.c3p0.cfg.C3P0ConfigFinder.findConfig.

findUsePermissiveParserback to summary
private boolean findUsePermissiveParser()
insertDefaultsUnderNascentConfigback to summary
private void insertDefaultsUnderNascentConfig(HashMap<K, V> flatDefaults, C3P0Config config)
mbOverrideWarningback to summary
private void mbOverrideWarning(String srcType, String srcName)