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

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

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

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


Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.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 java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Catches close() and closeConnection() method. close() calls _pool.freeConnection, and closeConnection() calls _connection.close().

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


Copyright © 2011 Mairie de Paris. All Rights Reserved.