@SuppressWarnings(value: ConfigurationProperties) @ConfigurationProperties(prefix: klokwrk.datasourceproxy) @CompileStatic class DataSourceProxyConfigurationProperties extends Object
Spring Boot configuration properties for configuring some aspects of datasourceproxy features that are enabled via DataSourceProxyBeanPostProcessor and DataSourceProxyInterceptor.
Modifiers | Name | Description |
---|---|---|
class |
DataSourceProxyConfigurationProperties.QueryLogger |
|
class |
DataSourceProxyConfigurationProperties.SlowQueryLogger |
Type | Name and description |
---|---|
String |
dataSourceNamePrefix The prefix of a proxying data source name. |
boolean |
enabled By default data source proxy is enabled. |
DataSourceProxyConfigurationProperties.QueryLogger |
queryLogger |
DataSourceProxyConfigurationProperties.SlowQueryLogger |
slowQueryLogger |
Constructor and description |
---|
DataSourceProxyConfigurationProperties() |
The prefix of a proxying data source name.
Constructed full data source name will consist of this prefix and original bean name of a proxied data source. Default value is'datasourceproxy:::'
.
By default data source proxy is enabled. Set to false
to disable it.
Groovy Documentation