Class ConnectionProxy
java.lang.Object
org.castor.cpa.persistence.sql.connection.ConnectionProxy
- All Implemented Interfaces:
InvocationHandler
Proxy class for JDBC Connection class, to allow information gathering
for the purpose of SQL statement logging.
- Since:
- 1.0.4
- Version:
- $Revision: 8107 $ $Date$
- Author:
- Ralf Joachim
-
Constructor Summary
ConstructorsConstructorDescriptionConnectionProxy
(Connection con, String calledBy) Creates an instance of ConnectionProxy. -
Method Summary
-
Constructor Details
-
ConnectionProxy
Creates an instance of ConnectionProxy.- Parameters:
con
- JDBC Connectio instance to be proxied.calledBy
- Name of the class using creating and this proxy class.
-
-
Method Details
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-