fr.paris.lutece.util.pool.service
Class TomcatConnectionService

java.lang.Object
  extended by fr.paris.lutece.util.pool.service.TomcatConnectionService
All Implemented Interfaces:
ConnectionService

public class TomcatConnectionService
extends java.lang.Object
implements ConnectionService


Constructor Summary
TomcatConnectionService()
           
 
Method Summary
 void freeConnection(java.sql.Connection conn)
           
 java.sql.Connection getConnection()
           
 org.apache.log4j.Logger getLogger()
           
 java.lang.String getPoolName()
           
 void init(java.util.Hashtable<java.lang.String,java.lang.String> htParamsConnectionPool)
           
 void release()
           
 void setLogger(org.apache.log4j.Logger logger)
           
 void setPoolName(java.lang.String strPoolName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TomcatConnectionService

public TomcatConnectionService()
Method Detail

getConnection

public java.sql.Connection getConnection()
Specified by:
getConnection in interface ConnectionService

freeConnection

public void freeConnection(java.sql.Connection conn)
Specified by:
freeConnection in interface ConnectionService

init

public void init(java.util.Hashtable<java.lang.String,java.lang.String> htParamsConnectionPool)
Specified by:
init in interface ConnectionService

setPoolName

public void setPoolName(java.lang.String strPoolName)
Specified by:
setPoolName in interface ConnectionService

getPoolName

public java.lang.String getPoolName()
Specified by:
getPoolName in interface ConnectionService

setLogger

public void setLogger(org.apache.log4j.Logger logger)
Specified by:
setLogger in interface ConnectionService

getLogger

public org.apache.log4j.Logger getLogger()
Specified by:
getLogger in interface ConnectionService

release

public void release()
Specified by:
release in interface ConnectionService


Copyright © 2007 Mairie de Paris. All Rights Reserved.