fr.paris.lutece.util.pool.service
Class LuteceConnectionProxy

java.lang.Object
  extended by fr.paris.lutece.util.pool.service.LuteceConnectionProxy
All Implemented Interfaces:
InvocationHandler

public class LuteceConnectionProxy
extends Object
implements InvocationHandler

LuteceConnectionProxy : proxy implementation of LuteceConnection This class should be removed when java5 support is dropped.


Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
          Catches close() and closeConnection() method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Catches close() and closeConnection() method. close() calls _pool.freeConnection, and closeConnection() calls _connection.close().

Specified by:
invoke in interface InvocationHandler
Parameters:
proxy - the proxy
method - the method
args - the args
Returns:
the object
Throws:
Throwable - the throwable


Copyright © 2014 Mairie de Paris. All Rights Reserved.