AutowireCapableBeanFactory « Bean « Spring Q&A





1. AutowireCapableBeanFactory.autowireBean(bean) never invoke InitlizingBean.afterPropertiesSet()?    stackoverflow.com

I need to do some initialization work after bean properties set,

ApplicationContext context = new ...;
AutowireCapableBeanFactory factory = context.getAutowireCapableBeanFactory();

// autowireBean only populate the fields, but never invoke afterPropertiesSet().
factory.autowireBean(bean);

// Should I set ...

2. at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory    forum.springsource.org

Nov 17th, 2009, 07:07 PM #1 sanketreddy View Profile View Forum Posts Private Message Junior Member Join Date Nov 2009 Posts 2 at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory Hi All, I am getting the ...