|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter org.codehaus.groovy.grails.orm.support.TransactionManagerPostProcessor
public class TransactionManagerPostProcessor extends InstantiationAwareBeanPostProcessorAdapter
Injects the platform transaction manager into beans that implement TransactionManagerAware.
Method Summary | |
---|---|
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. |
Method Detail |
---|
@Override public boolean postProcessAfterInstantiation(java.lang.Object bean, java.lang.String name)
bean
- The bean to process.name
- The name of the bean.
public void setBeanFactory(BeanFactory beanFactory)
beanFactory
- The bean factory handling this post processor.
Groovy Documentation