public class PluginConnectionService extends Object
| Constructor and Description |
|---|
PluginConnectionService(String strPoolName)
Creates a new PluginConnectionService object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
freeConnection(Connection conn)
Releases a connection and replaces it in the pool
|
Connection |
getConnection()
Returns a connection to database from the pool name
|
String |
getPoolName()
Gets the pool name
|
void |
setPool(String strPoolName)
Sets the pool to be used by this Connection Service
|
public PluginConnectionService(String strPoolName)
strPoolName - Rhe name of the poolpublic final void setPool(String strPoolName)
strPoolName - The name of the poolpublic Connection getConnection()
public void freeConnection(Connection conn)
conn - The connection to realeasepublic String getPoolName()
Copyright © 2020 City of Paris. All rights reserved.