com.waveset.adapter
Class AgentPoolBroker
java.lang.Object
com.waveset.adapter.AgentPoolBroker
- public class AgentPoolBroker
- extends java.lang.Object
Field Summary |
static java.lang.String |
code_id
|
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
getInstance
public static AgentPoolBroker getInstance()
setContext
public static void setContext(LighthouseContext ctx)
- Set a LighthouseContext so the adapter pool
can find the encryption keys to use for a
resource. If not set the default key is
used.
shutdown
public void shutdown()
getPool
public AgentConnectionPool getPool(Resource r)
throws WavesetException
- Throws:
WavesetException
getConnection
public RASecureConnection getConnection(Resource r)
throws java.io.IOException,
java.lang.InterruptedException,
java.security.InvalidKeyException,
WavesetException
- Throws:
java.io.IOException
java.lang.InterruptedException
java.security.InvalidKeyException
WavesetException
getPoolFreeCount
public int getPoolFreeCount(Resource r)
throws WavesetException
- Test method to check the pool status
- Throws:
WavesetException
getPoolInUseCount
public int getPoolInUseCount(Resource r)
throws WavesetException
- Test method to check the pool status
- Throws:
WavesetException
getPoolNames
public java.lang.String[] getPoolNames()