com.waveset.adapter.ScriptedConnection
Class ScriptedConnectionPool
java.lang.Object
com.waveset.adapter.ResourceConnectionPool
com.waveset.adapter.ScriptedConnection.ScriptedConnectionPool
- public class ScriptedConnectionPool
- extends ResourceConnectionPool
Field Summary |
static java.lang.String |
code_id
|
Methods inherited from class com.waveset.adapter.ResourceConnectionPool |
addStaleConnections, getConnection, getIdleTime, getPooledConnection, getPooledConnection, getResource, getResourceAttributeValue, isEmpty, isNoneInUse, newConnection, reapConnections, releaseConnection, releaseConnection, shutdown, shutdown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
code_id
public static final java.lang.String code_id
- See Also:
- Constant Field Values
ScriptedConnectionPool
public ScriptedConnectionPool()
throws WavesetException
ScriptedConnectionPool
public ScriptedConnectionPool(Resource resource)
throws WavesetException
setArgs
protected void setArgs(Resource resource)
throws WavesetException
- Throws:
WavesetException
setResource
public void setResource(Resource resource)
throws WavesetException
- Overrides:
setResource
in class ResourceConnectionPool
- Throws:
WavesetException
getConnection
public ResourceConnection getConnection(java.util.HashMap args,
java.lang.String type,
long timeout,
boolean pooled)
throws WavesetException
- Description copied from class:
ResourceConnectionPool
- Returns a connection. If a pooled connection is requested and
none is immediately available, a wait is set until one becomes
available. If the timeout expires before a connection becomes
available no connection is returned. A timeout value of zero
indicates an infinite wait request.
- Overrides:
getConnection
in class ResourceConnectionPool
- Throws:
WavesetException