@Configuration @ConditionalOnProperty(prefix="spring.datasource", name="jmx-enabled") @ConditionalOnClass(name="org.apache.tomcat.jdbc.pool.DataSourceProxy") @ConditionalOnMissingBean(name="dataSourceMBean") protected static class DataSourceAutoConfiguration.TomcatDataSourceJmxConfiguration extends Object
Modifier | Constructor and Description |
---|---|
protected |
TomcatDataSourceJmxConfiguration() |
Modifier and Type | Method and Description |
---|---|
Object |
dataSourceMBean(DataSource dataSource) |
@Bean public Object dataSourceMBean(DataSource dataSource)
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.