fr.paris.lutece.util.pool.service
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 proxymethod
- the methodargs
- the args
- Returns:
- the object
- Throws:
Throwable
- the throwable
Copyright © 2014 Mairie de Paris. All Rights Reserved.