|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.io.sdeapi.SDEConnectionPool
public class SDEConnectionPool
class to manage a pool of sde connections.
Method Summary | |
---|---|
SDEConnection |
acquireConnection(java.lang.String server,
int instance,
java.lang.String database,
java.lang.String version,
java.lang.String user,
java.lang.String password)
get an object from the object pool |
static SDEConnectionPool |
getInstance()
realize singelton pattern using double checked locking pattern. |
void |
releaseConnection(SDEConnection con,
java.lang.String server,
int instance,
java.lang.String database,
java.lang.String version,
java.lang.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(java.lang.String server, int instance, java.lang.String database, java.lang.String version, java.lang.String user, java.lang.String password) throws java.lang.Exception
server
- instance
- database
- version
- user
- password
-
java.lang.Exception
public void releaseConnection(SDEConnection con, java.lang.String server, int instance, java.lang.String database, java.lang.String version, java.lang.String user) throws DBPoolException
con
- server
- instance
- database
- version
- user
-
DBPoolException
|
deegree 2.5 (2011/06/29 09:44 build-8-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://www.deegree.org