|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.cm.dt.ConnectionCacheManager
The ConnectionCacheManager
class is responsible for
maintaining a designtime cache of connections obtained from the
ConnectionManager
Method Summary | |
void |
closeConnection(java.lang.String connectionName)
Closes a ConnectionWrapper and removes it from the cache |
ConnectionWrapper |
getConnection(java.lang.String connectionName)
Returns a Cached ConnectionWrapper for connectionName |
static ConnectionCacheManager |
getInstance()
Gets an instance of this Singleton class. |
int |
releaseConnection(java.lang.String connectionName)
Releases a ConnectionWrapper |
void |
shutdown()
Shuts down the Cached Connection Manager. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static ConnectionCacheManager getInstance()
public ConnectionWrapper getConnection(java.lang.String connectionName) throws java.io.IOException, CMException
connectionName
java.io.IOException
CMException
public int releaseConnection(java.lang.String connectionName)
public void closeConnection(java.lang.String connectionName)
public void shutdown()
ConnectionWrappers
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.