|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Object org.hibernate.jdbc.BorrowedConnectionProxy
public class BorrowedConnectionProxy
修改了方法getProxyClassLoader
构造方法摘要 | |
---|---|
BorrowedConnectionProxy(org.hibernate.jdbc.ConnectionManager connectionManager)
|
方法摘要 | |
---|---|
static Connection |
generateProxy(org.hibernate.jdbc.ConnectionManager connectionManager)
Generates a Connection proxy wrapping the connection managed by the passed connection manager. |
static ClassLoader |
getProxyClassLoader()
Determines the appropriate class loader to which the generated proxy should be scoped. |
static Connection |
getWrappedConnection(Connection connection)
Convience method for unwrapping a connection proxy and getting a handle to an underlying connection. |
Object |
invoke(Object proxy,
Method method,
Object[] args)
|
static void |
renderUnuseable(Connection connection)
Marks a borrowed connection as no longer usable. |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造方法详细信息 |
---|
public BorrowedConnectionProxy(org.hibernate.jdbc.ConnectionManager connectionManager)
方法详细信息 |
---|
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
InvocationHandler
中的 invoke
Throwable
public static Connection generateProxy(org.hibernate.jdbc.ConnectionManager connectionManager)
connectionManager
- The connection manager to wrap with the
connection proxy.
public static void renderUnuseable(Connection connection)
connection
- The connection (proxy) to be marked.public static Connection getWrappedConnection(Connection connection)
connection
- The connection (proxy) to be unwrapped.
public static ClassLoader getProxyClassLoader()
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |