|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jfw.database.PCMProxy
public final class PCMProxy
Distribute connections for proprietary connection management.
Constructor Summary | |
---|---|
PCMProxy()
|
Method Summary | |
---|---|
static java.sql.Connection |
get(java.lang.String pcmName)
Get a connection. |
static void |
release(java.sql.Connection connection)
Release a connection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PCMProxy()
Method Detail |
---|
public static java.sql.Connection get(java.lang.String pcmName) throws java.lang.Exception
PCMConnection
object with it.
java.lang.Exception
public static void release(java.sql.Connection connection) throws java.lang.Exception
PCMConnection.releaseConnection(java.sql.Connection)
and
remove the connection from local container.
connection
- the java.sql.Connection object returned by get(java.lang.String)
.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |