org.beanlet.management
Class IdentityNamingStrategy
java.lang.Object
org.beanlet.management.IdentityNamingStrategy
- All Implemented Interfaces:
- NamingStrategy
public class IdentityNamingStrategy
- extends Object
- implements NamingStrategy
Naming strategy based on the identity of the underlying beanlet.
The ObjectName is composed of the following properties :
type.getPackage().getName() + ":" +
"type=" + type.getName() +
"name=" + beanletName +
"hashCode=" + Integer.toHexString(System.identityHashCode(beanlet))
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdentityNamingStrategy
public IdentityNamingStrategy()
getObjectName
public ObjectName getObjectName(Object beanlet,
String beanletName,
Class<?> type)
throws MalformedObjectNameException
- Specified by:
getObjectName in interface NamingStrategy
- Throws:
MalformedObjectNameException
Copyright © 2006-2012. All Rights Reserved.