org.apache.commons.monitoring.jdbc
Class MonitoredPreparedStatement

java.lang.Object
  extended by org.apache.commons.monitoring.jdbc.MonitoredStatement
      extended by org.apache.commons.monitoring.jdbc.MonitoredPreparedStatement
All Implemented Interfaces:
InvocationHandler

public class MonitoredPreparedStatement
extends MonitoredStatement

Author:
ndeloof

Constructor Summary
MonitoredPreparedStatement(PreparedStatement statement, String sql)
           
 
Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
           
 
Methods inherited from class org.apache.commons.monitoring.jdbc.MonitoredStatement
extractSQLException, monitor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitoredPreparedStatement

public MonitoredPreparedStatement(PreparedStatement statement,
                                  String sql)
Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Overrides:
invoke in class MonitoredStatement
Throws:
Throwable


Copyright © 2008–2013 The Apache Software Foundation. All rights reserved.