File tree 1 file changed +2
-2
lines changed
spring-tx/src/main/java/org/springframework/transaction/annotation
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ public interface TransactionManagementConfigurer {
53
53
* <pre class="code">
54
54
* @Bean
55
55
* @Override
56
- * public PlatformTransactionManager createTransactionManager () {
56
+ * public PlatformTransactionManager annotationDrivenTransactionManager () {
57
57
* return new DataSourceTransactionManager(dataSource());
58
58
* }</pre>
59
59
* <h3>2. Implement the method without {@code @Bean} and delegate to another existing
@@ -65,7 +65,7 @@ public interface TransactionManagementConfigurer {
65
65
* }
66
66
*
67
67
* @Override
68
- * public PlatformTransactionManager createTransactionManager () {
68
+ * public PlatformTransactionManager annotationDrivenTransactionManager () {
69
69
* return txManager(); // reference the existing {@code @Bean} method above
70
70
* }</pre>
71
71
*
You can’t perform that action at this time.
0 commit comments