From c0b4e368dc2b4a6cfb514211c7720223bf1e7ca3 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Fri, 27 Jul 2012 00:04:55 +0200 Subject: [PATCH] Fix typo in TransactionManagementConfigurer Javadoc --- .../annotation/TransactionManagementConfigurer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-tx/src/main/java/org/springframework/transaction/annotation/TransactionManagementConfigurer.java b/spring-tx/src/main/java/org/springframework/transaction/annotation/TransactionManagementConfigurer.java index 4052ee1be17..62bbe0ee153 100644 --- a/spring-tx/src/main/java/org/springframework/transaction/annotation/TransactionManagementConfigurer.java +++ b/spring-tx/src/main/java/org/springframework/transaction/annotation/TransactionManagementConfigurer.java @@ -53,7 +53,7 @@ public interface TransactionManagementConfigurer { *
 	 * @Bean
 	 * @Override
-	 * public PlatformTransactionManager createTransactionManager() {
+	 * public PlatformTransactionManager annotationDrivenTransactionManager() {
 	 *     return new DataSourceTransactionManager(dataSource());
 	 * }
*

2. Implement the method without {@code @Bean} and delegate to another existing @@ -65,7 +65,7 @@ public interface TransactionManagementConfigurer { * } * * @Override - * public PlatformTransactionManager createTransactionManager() { + * public PlatformTransactionManager annotationDrivenTransactionManager() { * return txManager(); // reference the existing {@code @Bean} method above * } *