|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.service.database.PluginConnectionService
public class PluginConnectionService
Class for Plugins connection services.
| Constructor Summary | |
|---|---|
PluginConnectionService(java.lang.String strPoolName)
Creates a new PluginConnectionService object. |
|
| Method Summary | |
|---|---|
void |
freeConnection(java.sql.Connection conn)
Releases a connection and replaces it in the pool |
java.sql.Connection |
getConnection()
Returns a connection to database from the pool name |
void |
setPool(java.lang.String strPoolName)
Sets the pool to be used by this Connection Service |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PluginConnectionService(java.lang.String strPoolName)
strPoolName - Rhe name of the pool| Method Detail |
|---|
public final void setPool(java.lang.String strPoolName)
strPoolName - The name of the poolpublic java.sql.Connection getConnection()
public void freeConnection(java.sql.Connection conn)
conn - The connection to realease
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||