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 ofLuteceConnectionThis class should be removed when java5 support is dropped.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectinvoke(Object proxy, Method method, Object[] args)Catches close() and closeConnection() method.
-
-
-
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:
invokein interfaceInvocationHandler- Parameters:
proxy- the proxymethod- the methodargs- the args- Returns:
- the object
- Throws:
Throwable- the throwable
-
-