public class TransactionManagerPostProcessor extends Object implements InstantiationAwareBeanPostProcessor, BeanFactoryAware, PriorityOrdered
Injects the platform transaction manager into beans that implement TransactionManagerAware.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public int |
getOrder() |
|
public boolean |
postProcessAfterInstantiation(Object bean, String name)Injects the platform transaction manager into the given bean if that bean implements the TransactionManagerAware interface. |
|
public void |
setBeanFactory(BeanFactory beanFactory)Gets the platform transaction manager from the bean factory if there is one. |
Injects the platform transaction manager into the given bean if that bean implements the TransactionManagerAware interface.
bean - The bean to process.name - The name of the bean.Gets the platform transaction manager from the bean factory if there is one.
beanFactory - The bean factory handling this post processor.