Class DataSourceDecoratorProperties
java.lang.Object
com.github.gavlyukovskiy.boot.jdbc.decorator.DataSourceDecoratorProperties
@ConfigurationProperties(prefix="decorator.datasource")
public class DataSourceDecoratorProperties
extends Object
Properties for configuring proxy providers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetP6spy()booleanbooleanvoidsetDatasourceProxy(DataSourceProxyProperties datasourceProxy) voidsetEnabled(boolean enabled) voidsetExcludeBeans(Collection<String> excludeBeans) voidsetFlexyPool(FlexyPoolProperties flexyPool) voidsetIgnoreRoutingDataSources(boolean ignoreRoutingDataSources) voidsetP6spy(P6SpyProperties p6spy)
-
Constructor Details
-
DataSourceDecoratorProperties
public DataSourceDecoratorProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
getExcludeBeans
-
isIgnoreRoutingDataSources
public boolean isIgnoreRoutingDataSources() -
getDatasourceProxy
-
getP6spy
-
getFlexyPool
-
setEnabled
public void setEnabled(boolean enabled) -
setExcludeBeans
-
setIgnoreRoutingDataSources
public void setIgnoreRoutingDataSources(boolean ignoreRoutingDataSources) -
setDatasourceProxy
-
setP6spy
-
setFlexyPool
-