Class IntegrationMBeanExportConfiguration
java.lang.Object
org.springframework.integration.jmx.config.IntegrationMBeanExportConfiguration
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.context.annotation.ImportAware
,org.springframework.context.EnvironmentAware
@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.
- Since:
- 4.0
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MBEAN_EXPORTER_NAME
A name for defaultIntegrationMBeanExporter
bean. -
Constructor Summary
Constructors Constructor Description IntegrationMBeanExportConfiguration()
-
Method Summary
Modifier and Type Method 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)
-
Field Details
-
MBEAN_EXPORTER_NAME
public static final java.lang.String MBEAN_EXPORTER_NAMEA name for defaultIntegrationMBeanExporter
bean.- See Also:
- Constant Field Values
-
-
Constructor Details
-
IntegrationMBeanExportConfiguration
public IntegrationMBeanExportConfiguration()
-
-
Method Details
-
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException- Specified by:
setBeanFactory
in interfaceorg.springframework.beans.factory.BeanFactoryAware
- Throws:
org.springframework.beans.BeansException
-
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment)- Specified by:
setEnvironment
in interfaceorg.springframework.context.EnvironmentAware
-
setImportMetadata
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)- Specified by:
setImportMetadata
in interfaceorg.springframework.context.annotation.ImportAware
-
mbeanExporter
-