public static ObjectName makeObjectName ( JmxSelfNaming selfNamingObj ) { JmxResource jmxResource = selfNamingObj . getClass ( ) . getAnnotation ( JmxResource . class ) ; return makeObjectName ( jmxResource , selfNamingObj ) ; }
Constructs an object - name from a self naming object only .