|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter org.springframework.test.jpa.AbstractJpaTests.LoadTimeWeaverInjectingBeanPostProcessor
private static class AbstractJpaTests.LoadTimeWeaverInjectingBeanPostProcessor
Field Summary | |
---|---|
private LoadTimeWeaver |
ltw
|
Constructor Summary | |
---|---|
AbstractJpaTests.LoadTimeWeaverInjectingBeanPostProcessor(LoadTimeWeaver ltw)
|
Method Summary | |
---|---|
java.lang.Object |
postProcessBeforeInitialization(java.lang.Object bean,
java.lang.String beanName)
Apply this BeanPostProcessor to the given new bean instance before any bean initialization callbacks (like InitializingBean's afterPropertiesSet
or a custom init-method). |
Methods inherited from class org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter |
---|
determineCandidateConstructors, getEarlyBeanReference, postProcessAfterInitialization, postProcessAfterInstantiation, postProcessBeforeInstantiation, postProcessPropertyValues, predictBeanType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final LoadTimeWeaver ltw
Constructor Detail |
---|
public AbstractJpaTests.LoadTimeWeaverInjectingBeanPostProcessor(LoadTimeWeaver ltw)
Method Detail |
---|
public java.lang.Object postProcessBeforeInitialization(java.lang.Object bean, java.lang.String beanName) throws BeansException
BeanPostProcessor
afterPropertiesSet
or a custom init-method). The bean will already be populated with property values.
The returned bean instance may be a wrapper around the original.
postProcessBeforeInitialization
in interface BeanPostProcessor
postProcessBeforeInitialization
in class InstantiationAwareBeanPostProcessorAdapter
bean
- the new bean instancebeanName
- the name of the bean
null
, no subsequent BeanPostProcessors will be invoked
BeansException
- in case of errorsInitializingBean.afterPropertiesSet()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |