public class TransactionManagerPostProcessor extends java.lang.Object implements BeanFactoryAware, Ordered, SmartInstantiationAwareBeanPostProcessor
Injects the platform transaction manager into beans that implement TransactionManagerAware.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public int |
getOrder() |
|
public 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. |
|
public void |
setBeanFactory(BeanFactory beanFactory)Gets the platform transaction manager from the bean factory if there is one. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
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.