@Configuration @ConditionalOnClass(value=org.springframework.transaction.PlatformTransactionManager.class) @AutoConfigureAfter(name={"org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration","org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration"}) public class TransactionAutoConfiguration extends Object
Constructor and Description |
---|
TransactionAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
TransactionManager |
axonTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager) |
@Bean @ConditionalOnMissingBean @ConditionalOnBean(value=org.springframework.transaction.PlatformTransactionManager.class) public TransactionManager axonTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
Copyright © 2010–2022. All rights reserved.