| org.springframework.jmx.export.naming.ObjectNamingStrategy |
Known Indirect Subclasses
| IdentityNamingStrategy |
An implementation of the ObjectNamingStrategy interface that
creates a name based on the the identity of a given instance. |
| KeyNamingStrategy |
ObjectNamingStrategy implementation that builds
ObjectName instances from the key used in the
"beans" map passed to MBeanExporter. |
| MetadataNamingStrategy |
An implementation of the ObjectNamingStrategy interface
that reads the ObjectName from the source-level metadata. |
|
Class Overview
Strategy interface that encapsulates the creation of ObjectName instances.
Used by the MBeanExporter to obtain ObjectNames
when registering beans.
Public Methods
public
abstract
ObjectName
getObjectName
(Object managedBean, String beanKey)
Obtain an ObjectName for the supplied bean.
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 |