fr.paris.lutece.util.pool.service
Class LuteceConnectionFactory
java.lang.Object
fr.paris.lutece.util.pool.service.LuteceConnectionFactory
public final class LuteceConnectionFactory
- extends Object
Factory to create LuteceConnection
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newInstance
public static LuteceConnection newInstance(ConnectionPool pool,
Connection connection)
- Builds a new proxied instance of the connection
so we can use
ConnectionPool
with third party libraries.
- Parameters:
pool
- the connection pool to use when closing connectionconnection
- the actual connection
- Returns:
- a proxy implementing
LuteceConnection
Copyright © 2014 Mairie de Paris. All Rights Reserved.