Class LuteceConnectionProxy
- java.lang.Object
-
- 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.InvocationHandlerLuteceConnectionProxy : proxy implementation ofLuteceConnectionThis class should be removed when java5 support is dropped.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectinvoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)Catches close() and closeConnection() method.
-
-
-
Method Detail
-
invoke
public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.ThrowableCatches close() and closeConnection() method. close() calls _pool.freeConnection, and closeConnection() calls _connection.close().- Specified by:
invokein interfacejava.lang.reflect.InvocationHandler- Parameters:
proxy- the proxymethod- the methodargs- the args- Returns:
- the object
- Throws:
java.lang.Throwable- the throwable
-
-