org.springframework.jmx.export.naming
public class: MetadataNamingStrategy [javadoc |
source]
java.lang.Object
org.springframework.jmx.export.naming.MetadataNamingStrategy
All Implemented Interfaces:
ObjectNamingStrategy, InitializingBean
An implementation of the
ObjectNamingStrategy interface
that reads the
ObjectName from the source-level metadata.
Falls back to the bean key (bean name) if no
ObjectName
can be found in source-level metadata.
Uses the JmxAttributeSource strategy interface, so that
metadata can be read using any supported implementation. Out of the box,
two strategies are included:
AttributesJmxAttributeSource, for Commons Attributes
AnnotationJmxAttributeSource, for JDK 1.5+ annotations