Fix typo in TransactionManagementConfigurer Javadoc
This commit is contained in:
@@ -53,7 +53,7 @@ public interface TransactionManagementConfigurer {
|
||||
* <pre class="code">
|
||||
* @Bean
|
||||
* @Override
|
||||
* public PlatformTransactionManager createTransactionManager() {
|
||||
* public PlatformTransactionManager annotationDrivenTransactionManager() {
|
||||
* return new DataSourceTransactionManager(dataSource());
|
||||
* }</pre>
|
||||
* <h3>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
|
||||
* }</pre>
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user