org.springframework.context.annotation

## 类 MBeanExportConfiguration

- java.lang.Object
- - org.springframework.context.annotation.MBeanExportConfiguration

- 所有已实现的接口:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, ImportAware, EnvironmentAware

      @Configuration
      public class MBeanExportConfiguration
      extends Object
      implements ImportAware, EnvironmentAware, org.springframework.beans.factory.BeanFactoryAware

  `@Configuration` class that registers a `AnnotationMBeanExporter` bean.

  This configuration class is automatically imported when using the `EnableMBeanExport` annotation. See its javadoc for complete usage details.

  从以下版本开始:
    3.2
  作者:
    Phillip Webb, Chris Beams
  另请参阅:
    `EnableMBeanExport`

- - ### 嵌套类概要

    嵌套类
    限定符和类型 | 类和说明
    --- | ---
    `static class` | `MBeanExportConfiguration.SpecificPlatform`

  - ### 构造器概要

    构造器
    构造器和说明
    `MBeanExportConfiguration()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `AnnotationMBeanExporter` | `mbeanExporter()`
    `void` | `setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)`
    `void` | `setEnvironment(org.springframework.core.env.Environment environment)` Set the `Environment` that this component runs in.
    `void` | `setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)` Set the annotation metadata of the importing @`Configuration` class.

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### MBeanExportConfiguration

          public MBeanExportConfiguration()

  - ### 方法详细资料

    - #### setImportMetadata

          public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)

      从接口复制的说明: `ImportAware`
      Set the annotation metadata of the importing @`Configuration` class.
      指定者:
        `setImportMetadata` 在接口中 `ImportAware`

    - #### setEnvironment

          public void setEnvironment(org.springframework.core.env.Environment environment)

      从接口复制的说明: `EnvironmentAware`
      Set the `Environment` that this component runs in.
      指定者:
        `setEnvironment` 在接口中 `EnvironmentAware`

    - #### setBeanFactory

          public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)

      指定者:
        `setBeanFactory` 在接口中 `org.springframework.beans.factory.BeanFactoryAware`

    - #### mbeanExporter

          @Bean(name="mbeanExporter")
           @Role(value=2)
          public AnnotationMBeanExporter mbeanExporter()