Fix typo in TransactionManagementConfigurer Javadoc

This commit is contained in:
Sam Brannen 2012-07-27 00:04:55 +02:00
parent 37dc211f58
commit c0b4e368dc
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ public interface TransactionManagementConfigurer {
* <pre class="code"> * <pre class="code">
* &#064;Bean * &#064;Bean
* &#064;Override * &#064;Override
* public PlatformTransactionManager createTransactionManager() { * public PlatformTransactionManager annotationDrivenTransactionManager() {
* return new DataSourceTransactionManager(dataSource()); * return new DataSourceTransactionManager(dataSource());
* }</pre> * }</pre>
* <h3>2. Implement the method without {@code @Bean} and delegate to another existing * <h3>2. Implement the method without {@code @Bean} and delegate to another existing
@ -65,7 +65,7 @@ public interface TransactionManagementConfigurer {
* } * }
* *
* &#064;Override * &#064;Override
* public PlatformTransactionManager createTransactionManager() { * public PlatformTransactionManager annotationDrivenTransactionManager() {
* return txManager(); // reference the existing {@code @Bean} method above * return txManager(); // reference the existing {@code @Bean} method above
* }</pre> * }</pre>
* *