com.ibm.mq
Class MQPoolToken
java.lang.Object
|
+--com.ibm.mq.MQPoolToken
- public class MQPoolToken
- extends java.lang.Object
The MQPoolToken is used in conjunction with MQEnvironment to allow
application components to exercise control over the default
connection manager. Typically, an application component constructs an MQPoolToken
and registers it with MQEnvironment prior to using WebSphere MQ, and removes the
MQPoolToken when it has finished using WebSphere MQ.
The default connection manager can keep track of the number of
registered tokens via an MQPoolServices object.
It typically destroys any MQManagedConnections in the pool, when
the number of registered MQPoolTokens falls to zero.
A connection manager intended for use as the default
connection manager can provide a subclass of MQPoolToken.
Application components can optionally instantiate the subclass and use this to
pass information to the connection manager.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MQPoolToken
public MQPoolToken()