@FunctionalInterface public interface ObjectNamingStrategy
ObjectName instances.
 Used by the MBeanExporter to obtain ObjectNames
 when registering beans.
MBeanExporter, 
ObjectName| Modifier and Type | Method and Description | 
|---|---|
| ObjectName | getObjectName(Object managedBean,
             String beanKey)Obtain an  ObjectNamefor the supplied bean. | 
ObjectName getObjectName(Object managedBean, @Nullable String beanKey) throws MalformedObjectNameException
ObjectName for the supplied bean.managedBean - the bean that will be exposed under the
 returned ObjectNamebeanKey - the key associated with this bean in the beans map
 passed to the MBeanExporterObjectName instanceMalformedObjectNameException - if the resulting ObjectName is invalid