|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.transaction.interceptor.TransactionAspectUtils
BeanFactoryUtils
@Deprecated public abstract class TransactionAspectUtils
Utility methods for obtaining a PlatformTransactionManager by
qualifier value
.
Constructor Summary | |
---|---|
TransactionAspectUtils()
Deprecated. |
Method Summary | |
---|---|
static PlatformTransactionManager |
getTransactionManager(BeanFactory beanFactory,
String qualifier)
Deprecated. as of Spring 3.1.2 in favor of BeanFactoryAnnotationUtils.qualifiedBeanOfType(BeanFactory, Class, String) |
static PlatformTransactionManager |
getTransactionManager(ConfigurableListableBeanFactory bf,
String qualifier)
Deprecated. as of Spring 3.1.2 in favor of BeanFactoryAnnotationUtils.qualifiedBeanOfType(BeanFactory, Class, String) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransactionAspectUtils()
Method Detail |
---|
public static PlatformTransactionManager getTransactionManager(BeanFactory beanFactory, String qualifier)
BeanFactoryAnnotationUtils.qualifiedBeanOfType(BeanFactory, Class, String)
beanFactory
- the BeanFactory to get the PlatformTransactionManager
bean fromqualifier
- the qualifier for selecting between multiple PlatformTransactionManager
matches
PlatformTransactionManager
(never null
)
IllegalStateException
- if no matching PlatformTransactionManager
bean foundpublic static PlatformTransactionManager getTransactionManager(ConfigurableListableBeanFactory bf, String qualifier)
BeanFactoryAnnotationUtils.qualifiedBeanOfType(BeanFactory, Class, String)
bf
- the BeanFactory to get the PlatformTransactionManager
bean fromqualifier
- the qualifier for selecting between multiple PlatformTransactionManager
matches
PlatformTransactionManager
(never null
)
IllegalStateException
- if no matching PlatformTransactionManager
bean found
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |