Class LuteceConnectionProxy

java.lang.Object
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 Details

    • 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