public abstract class TransactionAspectUtils extends Object
qualifier value.| Constructor and Description |
|---|
TransactionAspectUtils() |
| Modifier and Type | Method and Description |
|---|---|
static PlatformTransactionManager |
getTransactionManager(BeanFactory beanFactory,
String qualifier)
Obtain a PlatformTransactionManager from the given BeanFactory,
matching the given qualifier.
|
static PlatformTransactionManager |
getTransactionManager(ConfigurableListableBeanFactory bf,
String qualifier)
Obtain a PlatformTransactionManager from the given BeanFactory,
matching the given qualifier.
|
public static PlatformTransactionManager getTransactionManager(BeanFactory beanFactory, String qualifier)
beanFactory - the BeanFactory to get the PlatformTransactionManager bean fromqualifier - the qualifier for selecting between multiple PlatformTransactionManager matchesnull)IllegalStateException - if no matching PlatformTransactionManager bean foundpublic static PlatformTransactionManager getTransactionManager(ConfigurableListableBeanFactory bf, String qualifier)
bf - the BeanFactory to get the PlatformTransactionManager bean fromqualifier - the qualifier for selecting between multiple PlatformTransactionManager matchesnull)IllegalStateException - if no matching PlatformTransactionManager bean foundCopyright © 2013. All Rights Reserved.