com.transferwise.common.spyql.starter.SpyqlAutoConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tw-spyql-starter Show documentation
Show all versions of tw-spyql-starter Show documentation
Transferwise Database Connection Spy - allows to start listening various JDBC events, especially events around transactions.
The newest version!
package com.transferwise.common.spyql.starter;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class SpyqlAutoConfiguration {
@Bean
@ConditionalOnMissingBean
public static SpyqlDataSourceBeanProcessor spyqlDataSourceBeanProcessor() {
return new SpyqlDataSourceBeanProcessor();
}
}