org.apache.commons.monitoring.jdbc
Class MonitoredStatement
java.lang.Object
org.apache.commons.monitoring.jdbc.MonitoredStatement
- All Implemented Interfaces:
- InvocationHandler
- Direct Known Subclasses:
- MonitoredPreparedStatement
public class MonitoredStatement
- extends Object
- implements InvocationHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MonitoredStatement
public MonitoredStatement(Statement statement)
monitor
protected SQLException monitor(SQLException sqle)
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable
extractSQLException
protected Throwable extractSQLException(InvocationTargetException e)
throws Throwable
- Throws:
Throwable
Copyright © 2008–2013 The Apache Software Foundation. All rights reserved.