@Configuration @ConditionalOnClass(value=org.springframework.integration.jmx.config.EnableIntegrationMBeanExport.class) @ConditionalOnMissingBean(value=org.springframework.integration.monitor.IntegrationMBeanExporter.class, search=CURRENT) @ConditionalOnProperty(prefix="spring.jmx", name="enabled", havingValue="true", matchIfMissing=true) protected static class IntegrationAutoConfiguration.IntegrationJmxConfiguration extends Object implements EnvironmentAware, BeanFactoryAware
Modifier | Constructor and Description |
---|---|
protected |
IntegrationJmxConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.integration.monitor.IntegrationMBeanExporter |
integrationMbeanExporter() |
void |
setBeanFactory(BeanFactory beanFactory) |
void |
setEnvironment(Environment environment) |
public void setBeanFactory(BeanFactory beanFactory) throws BeansException
setBeanFactory
in interface BeanFactoryAware
BeansException
public void setEnvironment(Environment environment)
setEnvironment
in interface EnvironmentAware
@Bean public org.springframework.integration.monitor.IntegrationMBeanExporter integrationMbeanExporter()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.