org.huihoo.jfox.pool.connection
Class PoolableConnectionInvocationHandler

java.lang.Object
  extended byorg.huihoo.jfox.pool.PoolableObjectInvocationHandler
      extended byorg.huihoo.jfox.pool.connection.PoolableConnectionInvocationHandler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class PoolableConnectionInvocationHandler
extends PoolableObjectInvocationHandler


Constructor Summary
PoolableConnectionInvocationHandler(PoolableObject poolableObject)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
          Processes a method invocation on a proxy instance and returns the result.
 
Methods inherited from class org.huihoo.jfox.pool.PoolableObjectInvocationHandler
getPoolableObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoolableConnectionInvocationHandler

public PoolableConnectionInvocationHandler(PoolableObject poolableObject)
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
Description copied from interface: java.lang.reflect.InvocationHandler
Processes a method invocation on a proxy instance and returns the result. This method will be invoked on an invocation handler when a method is invoked on a proxy instance that it is associated with.

Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Overrides:
invoke in class PoolableObjectInvocationHandler
Throws:
java.lang.Throwable