Package com.ibm.mq
Class MQPoolToken
java.lang.Object
com.ibm.mq.jmqi.JmqiObject
com.ibm.mq.MQPoolToken
public class MQPoolToken
extends com.ibm.mq.jmqi.JmqiObject
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 IBM MQ, and
removes the MQPoolToken when it has finished using IBM 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.
-
Field Summary
Fields inherited from class com.ibm.mq.jmqi.JmqiObject
COMP_JM, COMP_JN, COMP_JO -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.ibm.mq.jmqi.JmqiObject
getJmqiEnvironment
-
Constructor Details
-
MQPoolToken
public MQPoolToken()Constructor
-