@Configuration(proxyBeanMethods=false)
public class IntegrationMBeanExportConfiguration
extends java.lang.Object
implements org.springframework.context.annotation.ImportAware, org.springframework.context.EnvironmentAware, org.springframework.beans.factory.BeanFactoryAware
@Configuration class that registers a IntegrationMBeanExporter bean.
This configuration class is automatically imported when using the
EnableIntegrationMBeanExport annotation. See its javadoc for complete usage details.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MBEAN_EXPORTER_NAME
A name for default
IntegrationMBeanExporter bean. |
| Constructor and Description |
|---|
IntegrationMBeanExportConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
IntegrationMBeanExporter |
mbeanExporter() |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
void |
setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata) |
public static final java.lang.String MBEAN_EXPORTER_NAME
IntegrationMBeanExporter bean.public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionpublic void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment in interface org.springframework.context.EnvironmentAwarepublic void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
setImportMetadata in interface org.springframework.context.annotation.ImportAware@Bean(name="integrationMbeanExporter") @Role(value=2) public IntegrationMBeanExporter mbeanExporter()