I have a method in a complex java program that needs to be called immediately after the web ApplicationContext and SpringBeans have been initialized.
I've tried toying around with
<bean id="..." class="..." init-method="initialize">
but this method will call a applicationContext.get().getBean(beanId);
method.
I was wondering if anyone knows how to do this.
Thank you.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…