com.ibm.mq

Class MQPoolToken

  1. java.lang.Object
  2. extended bycom.ibm.mq.jmqi.JmqiObject
  3. extended bycom.ibm.mq.MQPoolToken

  1. public class MQPoolToken
  2. 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 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.


Field Summary

Fields inherited from class com.ibm.mq.jmqi.JmqiObject
COMP_JM, COMP_JN, COMP_JO

Constructor Summary

Constructor and Description
MQPoolToken()
Constructor

Method Summary

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

MQPoolToken

  1. public MQPoolToken()
Constructor