spring-framework / org.springframework.context.annotation / MBeanExportConfiguration

MBeanExportConfiguration

@Configuration open class MBeanExportConfiguration : ImportAware, EnvironmentAware, 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.

Author
Phillip Webb

Author
Chris Beams

Since
3.2

See Also
EnableMBeanExport

Constructors

<init>

MBeanExportConfiguration()

@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.

Functions

mbeanExporter

open fun mbeanExporter(): AnnotationMBeanExporter

setBeanFactory

open fun setBeanFactory(beanFactory: BeanFactory): Unit

setEnvironment

open fun setEnvironment(environment: Environment): Unit

setImportMetadata

open fun setImportMetadata(importMetadata: AnnotationMetadata): Unit