类 IdentityNamingStrategy
java.lang.Object
cn.taketoday.jmx.export.naming.IdentityNamingStrategy
- 所有已实现的接口:
ObjectNamingStrategy
An implementation of the
ObjectNamingStrategy interface that
creates a name based on the identity of a given instance.
The resulting ObjectName will be in the form
package:class=class name,hashCode=identity hash (in hex)
- 从以下版本开始:
- 4.0
- 作者:
- Rob Harrop, Juergen Hoeller
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getObjectName(Object managedBean, String beanKey) Returns an instance ofObjectNamebased on the identity of the managed resource.
-
字段详细资料
-
构造器详细资料
-
IdentityNamingStrategy
public IdentityNamingStrategy()
-
-
方法详细资料
-
getObjectName
public ObjectName getObjectName(Object managedBean, @Nullable String beanKey) throws MalformedObjectNameException Returns an instance ofObjectNamebased on the identity of the managed resource.- 指定者:
getObjectName在接口中ObjectNamingStrategy- 参数:
managedBean- the bean that will be exposed under the returnedObjectNamebeanKey- the key associated with this bean in the beans map passed to theMBeanExporter- 返回:
- the
ObjectNameinstance - 抛出:
MalformedObjectNameException- if the resultingObjectNameis invalid
-