Class LuteceConnectionFactory
java.lang.Object
fr.paris.lutece.util.pool.service.LuteceConnectionFactory
Factory to create LuteceConnection
-
Method Summary
Modifier and TypeMethodDescriptionstatic LuteceConnectionnewInstance(ConnectionPool pool, Connection connection) Builds a new proxied instance of the connection so we can useConnectionPoolwith third party libraries.
-
Method Details
-
newInstance
Builds a new proxied instance of the connection so we can useConnectionPoolwith third party libraries.- Parameters:
pool- the connection pool to use when closing connectionconnection- the actual connection- Returns:
- a proxy implementing
LuteceConnection
-