Class Overview
An implementation of the ObjectNamingStrategy
interface that
creates a name based on the the identity of a given instance.
The resulting ObjectName
will be in the form
package:class=class name,hashCode=identity hash (in hex)
Constants
public
static
final
String
HASH_CODE_KEY
Constant Value:
"hashCode"
public
static
final
String
TYPE_KEY
Public Constructors
public
IdentityNamingStrategy
()
Public Methods
public
ObjectName
getObjectName
(Object managedBean, String beanKey)
Returns an instance of ObjectName
based on the identity
of the managed resource.
Parameters
managedBean
| the bean that will be exposed under the
returned ObjectName |
beanKey
| the key associated with this bean in the beans map
passed to the MBeanExporter |