BeanFactoryUtils
@Deprecated
public abstract class TransactionAspectUtils
extends java.lang.Object
qualifier value
.Constructor and Description |
---|
TransactionAspectUtils()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static PlatformTransactionManager |
getTransactionManager(BeanFactory beanFactory,
java.lang.String qualifier)
Deprecated.
as of Spring 3.1.2 in favor of
BeanFactoryAnnotationUtils.qualifiedBeanOfType(BeanFactory, Class, String) |
static PlatformTransactionManager |
getTransactionManager(ConfigurableListableBeanFactory bf,
java.lang.String qualifier)
Deprecated.
as of Spring 3.1.2 in favor of
BeanFactoryAnnotationUtils.qualifiedBeanOfType(BeanFactory, Class, String) |
@Deprecated public static PlatformTransactionManager getTransactionManager(BeanFactory beanFactory, java.lang.String qualifier)
BeanFactoryAnnotationUtils.qualifiedBeanOfType(BeanFactory, Class, String)
beanFactory
- the BeanFactory to get the PlatformTransactionManager
bean fromqualifier
- the qualifier for selecting between multiple PlatformTransactionManager
matchesPlatformTransactionManager
(never null
)java.lang.IllegalStateException
- if no matching PlatformTransactionManager
bean found@Deprecated public static PlatformTransactionManager getTransactionManager(ConfigurableListableBeanFactory bf, java.lang.String qualifier)
BeanFactoryAnnotationUtils.qualifiedBeanOfType(BeanFactory, Class, String)
bf
- the BeanFactory to get the PlatformTransactionManager
bean fromqualifier
- the qualifier for selecting between multiple PlatformTransactionManager
matchesPlatformTransactionManager
(never null
)java.lang.IllegalStateException
- if no matching PlatformTransactionManager
bean found