|
Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1.1) E17274-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.stellent.ridc.protocol.impl.SimpleConnectionPool<TConnection>
public class SimpleConnectionPool<TConnection extends Connection>
Creates a new connection for every thread.
| Constructor Summary | |
|---|---|
SimpleConnectionPool() |
|
| Method Summary | |
|---|---|
TConnection |
acquireConnection()Obtain a connection from the pool for the current thread |
void |
initialize(IdcClientConfig clientConfig, ConnectionManager<TConnection,IdcClientConfig> connectionManager)Initialize the threading model |
void |
releaseConnection(TConnection connection)Release the connection for this thread |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleConnectionPool()
| Method Detail |
|---|
public void initialize(IdcClientConfig clientConfig,
ConnectionManager<TConnection,IdcClientConfig> connectionManager)
throws ProtocolException
initialize in interface ConnectionPool<TConnection extends Connection>clientConfig - the client configurationconnectionManager - the connection managerProtocolException
public TConnection acquireConnection()
throws ProtocolException
ConnectionPoolacquireConnection in interface ConnectionPool<TConnection extends Connection>ProtocolExceptionpublic void releaseConnection(TConnection connection)
releaseConnection in interface ConnectionPool<TConnection extends Connection>connection - the connection
|
Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1.1) E17274-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||