接口的使用
org.springframework.jmx.export.metadata.JmxAttributeSource
使用JmxAttributeSource的程序包 程序包 说明 org.springframework.jmx.export.annotation Java 5 annotations for MBean exposure.org.springframework.jmx.export.assembler Provides a strategy for MBeanInfo assembly.org.springframework.jmx.export.naming Provides a strategy for ObjectName creation.org.springframework.jmx.export.annotation中JmxAttributeSource的使用
实现JmxAttributeSource的org.springframework.jmx.export.annotation中的类 修饰符和类型 类 说明 class
AnnotationJmxAttributeSource
Implementation of theJmxAttributeSource
interface that reads annotations and exposes the corresponding attributes.org.springframework.jmx.export.assembler中JmxAttributeSource的使用
参数类型为JmxAttributeSource的org.springframework.jmx.export.assembler中的方法 修饰符和类型 方法 说明 void
MetadataMBeanInfoAssembler. setAttributeSource(JmxAttributeSource attributeSource)
Set theJmxAttributeSource
implementation to use for reading the metadata from the bean class.参数类型为JmxAttributeSource的org.springframework.jmx.export.assembler中的构造器 构造器 说明 MetadataMBeanInfoAssembler(JmxAttributeSource attributeSource)
Create a newMetadataMBeanInfoAssembler
for the givenJmxAttributeSource
.org.springframework.jmx.export.naming中JmxAttributeSource的使用
参数类型为JmxAttributeSource的org.springframework.jmx.export.naming中的方法 修饰符和类型 方法 说明 void
MetadataNamingStrategy. setAttributeSource(JmxAttributeSource attributeSource)
Set the implementation of theJmxAttributeSource
interface to use when reading the source-level metadata.参数类型为JmxAttributeSource的org.springframework.jmx.export.naming中的构造器 构造器 说明 MetadataNamingStrategy(JmxAttributeSource attributeSource)
Create a newMetadataNamingStrategy
for the givenJmxAttributeSource
.