## 类的使用
org.springframework.jmx.export.metadata.InvalidMetadataException

- 使用InvalidMetadataException的程序包
  程序包 | 说明
  --- | ---
  org.springframework.jmx.export.annotation | Java 5 annotations for MBean exposure.
  org.springframework.jmx.export.metadata | Provides generic JMX metadata classes and basic support for reading JMX metadata in a provider-agnostic manner.

- - ### org.springframework.jmx.export.annotation中InvalidMetadataException的使用

    抛出InvalidMetadataException的org.springframework.jmx.export.annotation中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `ManagedAttribute` | AnnotationJmxAttributeSource.`getManagedAttribute(Method method)`
    `ManagedMetric` | AnnotationJmxAttributeSource.`getManagedMetric(Method method)`
    `ManagedNotification[]` | AnnotationJmxAttributeSource.`getManagedNotifications(Class<?> clazz)`
    `ManagedOperation` | AnnotationJmxAttributeSource.`getManagedOperation(Method method)`
    `ManagedOperationParameter[]` | AnnotationJmxAttributeSource.`getManagedOperationParameters(Method method)`
    `ManagedResource` | AnnotationJmxAttributeSource.`getManagedResource(Class<?> beanClass)`

  - ### org.springframework.jmx.export.metadata中InvalidMetadataException的使用

    抛出InvalidMetadataException的org.springframework.jmx.export.metadata中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `ManagedAttribute` | JmxAttributeSource.`getManagedAttribute(Method method)` Implementations should return an instance of `ManagedAttribute` if the supplied `Method` has the corresponding metadata.
    `ManagedMetric` | JmxAttributeSource.`getManagedMetric(Method method)` Implementations should return an instance of `ManagedMetric` if the supplied `Method` has the corresponding metadata.
    `ManagedNotification[]` | JmxAttributeSource.`getManagedNotifications(Class<?> clazz)` Implementations should return an array of `ManagedNotifications` if the supplied the `Class` has the corresponding metadata.
    `ManagedOperation` | JmxAttributeSource.`getManagedOperation(Method method)` Implementations should return an instance of `ManagedOperation` if the supplied `Method` has the corresponding metadata.
    `ManagedOperationParameter[]` | JmxAttributeSource.`getManagedOperationParameters(Method method)` Implementations should return an array of `ManagedOperationParameter` if the supplied `Method` has the corresponding metadata.
    `ManagedResource` | JmxAttributeSource.`getManagedResource(Class<?> clazz)` Implementations should return an instance of `ManagedResource` if the supplied `Class` has the appropriate metadata.