Package org.hawaiiframework.sql
Class DataSourceProxyConfiguration
- java.lang.Object
-
- org.hawaiiframework.sql.DataSourceProxyConfiguration
-
@ConditionalOnClass(net.ttddyy.dsproxy.support.ProxyDataSource.class) @Configuration public class DataSourceProxyConfiguration extends Object
Configuration for the datasource proxy.
-
-
Constructor Summary
Constructors Constructor Description DataSourceProxyConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataSourceProxyBeanPostProcessor
datasourceProxyBeanPostProcessor(DataSourceProxyFactory dataSourceProxyFactory)
DataSourceProxyFactory
proxyDataSourceFactory(List<OrderedQueryExecutionListener> listeners)
-
-
-
Method Detail
-
datasourceProxyBeanPostProcessor
@Bean @ConditionalOnMissingBean(DataSourceProxyBeanPostProcessor.class) @ConditionalOnClass(net.ttddyy.dsproxy.support.ProxyDataSource.class) public DataSourceProxyBeanPostProcessor datasourceProxyBeanPostProcessor(DataSourceProxyFactory dataSourceProxyFactory)
-
proxyDataSourceFactory
@Bean @ConditionalOnMissingBean(DataSourceProxyFactory.class) @ConditionalOnClass(net.ttddyy.dsproxy.support.ProxyDataSource.class) public DataSourceProxyFactory proxyDataSourceFactory(List<OrderedQueryExecutionListener> listeners)
-
-