MBeans for object pool managers and object pools

Legacy MBean names for object pool managers and object pools are deprecated. The legacy names are based on the object pool manager name (which is not required to be unique) rather than the object pool manager JNDI name.

About this task

For object pools, the legacy name is also lacking any identifier of the version of the pooled class. Additionally, object pool Performance Monitoring Instrumentation (PMI) statistics are aggregated for object pools with the same legacy object pool MBean name.

For example, if the object pool manager and pooled class are as follows:
object pool manager name:  My ObjectPool
object pool manager JNDI name:  op/MyObjectPool
pooled class name:  java.util.ArrayList
hash code of java.util.ArrayList.class: 1111eb3f (hexadecimal)

the legacy object pool manager MBean name will be:

ObjectPoolManager_My ObjectPool

and the legacy object pool MBean name will be:

ObjectPool_My ObjectPool_java.util.ArrayList

Instead of using the deprecated legacy MBean names, use the MBean names that are based on the JNDI name of the object pool manager.

For the previous example, the JNDI name-based object pool manager MBean name is:
ObjectPoolManager_op/MyObjectPool

and the JNDI name-based object pool MBean name is:

ObjectPool_op/MyObjectPool_java.util.ArrayList.class@1111eb3f

Formats for MBean names

Type Name format
Deprecated legacy object pool manager MBean name: ObjectPoolManager_[object pool manager name]
JNDI name-based object pool manager MBean name: ObjectPoolManager_[object pool manager JNDI name]
Deprecated legacy object pool MBean name: ObjectPool_[object pool manager name]_[pooled class name]
JNDI name-based object pool MBean name: ObjectPool_[object pool manager JNDI name]_[pooled class name].class@[hexadecimal representation of the hash code of the pooled class' java.lang.Class reference]

In all of the formats, characters that are not valid for MBean names are replaced with the '.' character.


指出主題類型的圖示 作業主題



時間戳記圖示 前次更新: July 9, 2016 11:21
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rasb_objpoolmbeans
檔名:rasb_objpoolmbeans.html