Fix typo in TransactionManagementConfigurer Javadoc
This commit is contained in:
parent
37dc211f58
commit
c0b4e368dc
|
@ -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>
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue