Class C3P0ImplUtils
java.lang.Object
com.mchange.v2.c3p0.impl.C3P0ImplUtils
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic voidnever intended to be called.static StringcreateUserOverridesAsString(Map userOverrides) static DbAuthstatic voidjndiAssertNameIsAcceptable(Object jndiName) Call to guard setting and use of JNDI names.static MapparseUserOverridesAsString(String userOverridesAsString) static voidrunWithContextClassLoaderAndPrivileges(String contextClassLoaderSource, boolean privilege_spawned_threads, Runnable runnable) static booleansupportsMethod(Object target, String mname, Class[] argTypes)
-
Field Details
-
NULL_AUTH
-
NOARGS
-
PARENT_LOGGER
-
VMID_PROPKEY
- See Also:
-
-
Method Details
-
allocateIdentityToken
-
findAuth
- Throws:
SQLException
-
supportsMethod
-
createUserOverridesAsString
public static String createUserOverridesAsString(Map userOverrides) throws IOException, com.mchange.v2.csv.MalformedCsvException - Throws:
IOExceptioncom.mchange.v2.csv.MalformedCsvException
-
parseUserOverridesAsString
public static Map parseUserOverridesAsString(String userOverridesAsString) throws IOException, com.mchange.v2.csv.MalformedCsvException - Throws:
IOExceptioncom.mchange.v2.csv.MalformedCsvException
-
runWithContextClassLoaderAndPrivileges
-
assertCompileTimePresenceOfJdbc4_Jdk17Api
public static void assertCompileTimePresenceOfJdbc4_Jdk17Api(AbstractNewProxyConnection npc) throws SQLException never intended to be called. we just want a compiler error if somehow we are building/code-generating against an old version of JDBC, as happened somehow with the c3p0-0.9.5-pre2 release- Throws:
SQLException
-
jndiAssertNameIsAcceptable
Call to guard setting and use of JNDI names. Will throw a NamingException if the name is unsupported- Throws:
NamingException
-