Implement postCreate() method in JavaBean, it will be called by BeanFactory automatically
Extend BeanFactory interface and override afterBeanCreation() method
Call some method in constructor of a JavaBean
Call some method in static initialization code of JavaBean class
Implement BeanPostProcessor interface,
register it within BeanFactory and handle the event in postProcessBeanFactory() method
Implement BeanPostProcessor interface,
register it within BeanFactory and handle the event in postProcessBean() method
|