public class TransactionManagerPostProcessor
extends org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter
implements org.springframework.beans.factory.BeanFactoryAware, org.springframework.core.PriorityOrdered
TransactionManagerAware.| Constructor and Description |
|---|
TransactionManagerPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
boolean |
postProcessAfterInstantiation(java.lang.Object bean,
java.lang.String name)
Injects the platform transaction manager into the given bean if
that bean implements the
TransactionManagerAware interface. |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
Gets the platform transaction manager from the bean factory if
there is one.
|
determineCandidateConstructors, getEarlyBeanReference, postProcessAfterInitialization, postProcessBeforeInitialization, postProcessBeforeInstantiation, postProcessPropertyValues, predictBeanTypepublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwarebeanFactory - The bean factory handling this post processor.org.springframework.beans.BeansExceptionpublic boolean postProcessAfterInstantiation(java.lang.Object bean,
java.lang.String name)
throws org.springframework.beans.BeansException
TransactionManagerAware interface.postProcessAfterInstantiation in interface org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorpostProcessAfterInstantiation in class org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapterbean - The bean to process.name - The name of the bean.org.springframework.beans.BeansExceptionpublic int getOrder()
getOrder in interface org.springframework.core.Ordered