|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.io.sdeapi.SDEConnectionPool
public class SDEConnectionPool
class to manage a pool of sde connections.
Method Summary | |
---|---|
SDEConnection |
acquireConnection(String server,
int instance,
String database,
String version,
String user,
String password)
get an object from the object pool |
static SDEConnectionPool |
getInstance()
realize singelton pattern using double checked locking pattern. |
void |
releaseConnection(SDEConnection con,
String server,
int instance,
String database,
String version,
String user)
releases a connection back to the pool |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SDEConnectionPool getInstance()
public SDEConnection acquireConnection(String server, int instance, String database, String version, String user, String password) throws Exception
server
- instance
- database
- version
- user
- password
-
Exception
public void releaseConnection(SDEConnection con, String server, int instance, String database, String version, String user) throws DBPoolException
con
- server
- instance
- database
- version
- user
-
DBPoolException
|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net