public class TransactionManagerPostProcessor extends InstantiationAwareBeanPostProcessorAdapter
Injects the platform transaction manager into beans that implement TransactionManagerAware.
Type Params | Return Type | Name 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(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.