org.midao.jdbc.core.profiler
Class BaseInvocationHandler

java.lang.Object
  extended by org.midao.jdbc.core.profiler.BaseInvocationHandler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class BaseInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler

Proxy which is used for Profiling of QueryRunner Uses Java Proxy


Constructor Summary
BaseInvocationHandler(java.lang.Object obj, java.lang.String profilerOutputFormat)
          Creates new BaseInvocationHandler instance
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseInvocationHandler

public BaseInvocationHandler(java.lang.Object obj,
                             java.lang.String profilerOutputFormat)
Creates new BaseInvocationHandler instance

Parameters:
obj - Object which would be proxied
profilerOutputFormat - profiler output string format description
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Parameters:
proxy -
method -
args -
Returns:
Throws:
java.lang.Throwable
See Also:
BaseInvocationHandler#invoke(Object, java.lang.reflect.Method, Object[])}


Copyright © 2013. All Rights Reserved.