| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler
org.hibernate.engine.jdbc.internal.proxy.ConnectionProxyHandler
public class ConnectionProxyHandler
The InvocationHandler for intercepting messages to Connection proxies.
| Constructor Summary | |
|---|---|
| ConnectionProxyHandler(LogicalConnectionImplementor logicalConnection) | |
| Method Summary | |
|---|---|
| protected  Object | continueInvocation(Object proxy,
                   Method method,
                   Object[] args) | 
| protected  LogicalConnectionImplementor | getLogicalConnection()Access to our logical connection. | 
|  void | logicalConnectionClosed()The logical connection was closed. | 
|  void | physicalConnectionObtained(Connection connection)A physical connection was obtained. | 
|  void | physicalConnectionReleased()A physical connection was released. | 
|  void | statementPrepared()Notification of a statement being prepared | 
| Methods inherited from class org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler | 
|---|
| errorIfInvalid, hashCode, invalidate, invoke, isValid, toString | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface java.lang.reflect.InvocationHandler | 
|---|
| invoke | 
| Constructor Detail | 
|---|
public ConnectionProxyHandler(LogicalConnectionImplementor logicalConnection)
| Method Detail | 
|---|
protected LogicalConnectionImplementor getLogicalConnection()
protected Object continueInvocation(Object proxy,
                                    Method method,
                                    Object[] args)
                             throws Throwable
continueInvocation in class AbstractProxyHandlerThrowablepublic void physicalConnectionObtained(Connection connection)
ConnectionObserver
physicalConnectionObtained in interface ConnectionObserverconnection - The physical connection just obtained.public void physicalConnectionReleased()
ConnectionObserver
physicalConnectionReleased in interface ConnectionObserverpublic void logicalConnectionClosed()
ConnectionObserver
logicalConnectionClosed in interface ConnectionObserverpublic void statementPrepared()
ConnectionObserver
statementPrepared in interface ConnectionObserver| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||