| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Method | |
| private static final Method | |
| private static final Method |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | |
| public static int | |
| public static boolean | samePhysicalConnection(C3P0ProxyConnection con1, C3P0ProxyConnection con2)
In general, if this method returns true for two distinct C3P0ProxyConnections, it indicates a c3p0 bug. |
| public static DataSource |
| IDENTITY_HASHCODE | back to summary |
|---|---|
| private static final Method IDENTITY_HASHCODE | |
| IPCFP | back to summary |
|---|---|
| private static final Method IPCFP | |
| OBJECT_EQUALS | back to summary |
|---|---|
| private static final Method OBJECT_EQUALS | |
| TestUtils | back to summary |
|---|---|
| private TestUtils() | |
| isPhysicalConnectionForProxy | back to summary |
|---|---|
| public static boolean isPhysicalConnectionForProxy(Connection physicalConnection, C3P0ProxyConnection proxy) throws SQLException | |
| physicalConnectionIdentityHashCode | back to summary |
|---|---|
| public static int physicalConnectionIdentityHashCode(C3P0ProxyConnection conn) throws SQLException | |
| samePhysicalConnection | back to summary |
|---|---|
| public static boolean samePhysicalConnection(C3P0ProxyConnection con1, C3P0ProxyConnection con2) throws SQLException In general, if this method returns true for two distinct C3P0ProxyConnections, it indicates a c3p0 bug. Once a proxy Connection is close()ed, it should not permit any sort of operation. Prior to Connection close(), there should be at most one valid proxy Connection associated with a given physical Connection. | |
| unreliableCommitDataSource | back to summary |
|---|---|
| public static DataSource unreliableCommitDataSource(DataSource ds) throws Exception | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Connection | |
| pack-priv boolean | |
| pack-priv Random |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Object | invoke(Object
the proxy instance that the method was invoked on proxy, Method the method, Object[] Method instance corresponding to
the interface method invoked on the proxy instance. The declaring
class of the Method object will be the interface that
the method was declared in, which may be a superinterface of the
proxy interface that the proxy class inherits the method through.an array of objects containing the values of the
arguments passed in the method invocation on the proxy instance,
or args)null if interface method takes no arguments.
Arguments of primitive types are wrapped in instances of the
appropriate primitive wrapper class, such as
java.lang.Integer or java.lang.Boolean.Implements java. Processes a method invocation on a proxy instance and returns the result. |
| conn | back to summary |
|---|---|
| pack-priv Connection conn | |
| invalid | back to summary |
|---|---|
| pack-priv boolean invalid | |
| r | back to summary |
|---|---|
| pack-priv Random r | |
| StupidConnectionInvocationHandler | back to summary |
|---|---|
| pack-priv StupidConnectionInvocationHandler(Connection conn) | |
| invoke | back to summary |
|---|---|
| public Object invoke(Object proxy, Method method, Object[] args) throws Throwable Implements java. Doc from java. Processes a method invocation on a proxy instance and returns the result. This method will be invoked on an invocation handler when a method is invoked on a proxy instance that it is associated with.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv DataSource | |
| pack-priv Random |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Object | invoke(Object
the proxy instance that the method was invoked on proxy, Method the method, Object[] Method instance corresponding to
the interface method invoked on the proxy instance. The declaring
class of the Method object will be the interface that
the method was declared in, which may be a superinterface of the
proxy interface that the proxy class inherits the method through.an array of objects containing the values of the
arguments passed in the method invocation on the proxy instance,
or args)null if interface method takes no arguments.
Arguments of primitive types are wrapped in instances of the
appropriate primitive wrapper class, such as
java.lang.Integer or java.lang.Boolean.Implements java. Processes a method invocation on a proxy instance and returns the result. |
| StupidDataSourceInvocationHandler | back to summary |
|---|---|
| pack-priv StupidDataSourceInvocationHandler(DataSource ds) | |
| invoke | back to summary |
|---|---|
| public Object invoke(Object proxy, Method method, Object[] args) throws Throwable Implements java. Doc from java. Processes a method invocation on a proxy instance and returns the result. This method will be invoked on an invocation handler when a method is invoked on a proxy instance that it is associated with.
| |