public final class C3P0Config
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFG_FINDER_CLASSNAME_KEY |
static java.lang.String |
DEFAULT_CONFIG_NAME |
static C3P0Config |
MAIN |
static java.lang.String |
PROPS_FILE_RSRC_PATH |
Modifier and Type | Method and Description |
---|---|
static void |
bindNamedConfigToBean(java.lang.Object bean,
java.lang.String configName,
boolean shouldBindUserOverridesAsString) |
static void |
bindUserOverridesAsString(java.lang.Object bean,
java.lang.String uoas) |
static void |
bindUserOverridesToBean(java.lang.Object bean,
java.lang.String configName) |
static java.util.Map |
getExtensions(java.lang.String configName) |
static java.lang.String |
getPropsFileConfigProperty(java.lang.String prop) |
static java.util.Map |
getUnspecifiedUserProperties(java.lang.String configName) |
static java.lang.String |
getUnspecifiedUserProperty(java.lang.String propKey,
java.lang.String configName) |
static java.util.Map |
getUserOverrides(java.lang.String configName) |
static java.lang.String |
getUserOverridesAsString(java.lang.String configName) |
static boolean |
initializeBooleanPropertyVar(java.lang.String propKey,
boolean dflt) |
static java.util.Map |
initializeExtensions() |
static int |
initializeIntPropertyVar(java.lang.String propKey,
int dflt) |
static java.lang.String |
initializeStringPropertyVar(java.lang.String propKey,
java.lang.String dflt) |
static java.lang.String |
initializeUserOverridesAsString() |
public static final java.lang.String CFG_FINDER_CLASSNAME_KEY
public static final java.lang.String DEFAULT_CONFIG_NAME
public static final java.lang.String PROPS_FILE_RSRC_PATH
public static final C3P0Config MAIN
public static java.lang.String getPropsFileConfigProperty(java.lang.String prop)
public static java.lang.String getUnspecifiedUserProperty(java.lang.String propKey, java.lang.String configName)
public static java.util.Map getExtensions(java.lang.String configName)
public static java.util.Map getUnspecifiedUserProperties(java.lang.String configName)
public static java.util.Map getUserOverrides(java.lang.String configName)
public static java.lang.String getUserOverridesAsString(java.lang.String configName) throws java.io.IOException
java.io.IOException
public static void bindUserOverridesAsString(java.lang.Object bean, java.lang.String uoas) throws java.lang.Exception
java.lang.Exception
public static void bindUserOverridesToBean(java.lang.Object bean, java.lang.String configName) throws java.lang.Exception
java.lang.Exception
public static void bindNamedConfigToBean(java.lang.Object bean, java.lang.String configName, boolean shouldBindUserOverridesAsString) throws java.beans.IntrospectionException
java.beans.IntrospectionException
public static java.lang.String initializeUserOverridesAsString()
public static java.util.Map initializeExtensions()
public static java.lang.String initializeStringPropertyVar(java.lang.String propKey, java.lang.String dflt)
public static int initializeIntPropertyVar(java.lang.String propKey, int dflt)
public static boolean initializeBooleanPropertyVar(java.lang.String propKey, boolean dflt)