List of usage examples for org.springframework.boot.autoconfigure.transaction PlatformTransactionManagerCustomizer customize
void customize(T transactionManager);
From source file:org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers.java
@SuppressWarnings({ "unchecked", "rawtypes" })
private void customize(PlatformTransactionManager transactionManager,
PlatformTransactionManagerCustomizer customizer) {
try {//from w ww . j a va 2s .co m
customizer.customize(transactionManager);
} catch (ClassCastException ex) {
// Possibly a lambda-defined customizer which we could not resolve the generic
// transaction manager type for
if (logger.isDebugEnabled()) {
logger.debug("Non-matching transaction manager type for customizer: " + customizer, ex);
}
}
}