mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-06 15:09:34 +00:00
Rename TransactionManagementConfigurer callback
Renamed TransactionManagementConfigurer#createTransactionManager() to #annotationDrivenTransactionManager() to better reflect the fact that the implemented method is optionally eligible for @Bean annotation. See Javadoc for details.
This commit is contained in:
+1
-1
@@ -127,7 +127,7 @@ public class EnableTransactionManagementTests {
|
||||
return new CallCountingTransactionManager();
|
||||
}
|
||||
|
||||
public PlatformTransactionManager createTransactionManager() {
|
||||
public PlatformTransactionManager annotationDrivenTransactionManager() {
|
||||
return txManager2();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user