java - Calling A Method After all SpringBeans and ApplicationContext have been initialized -
I have a way in a complex Java program that should be called immediately after the launch of web application Konteks and Springbains. / P>
I joined & lt; Bean id = "..." class = "..." init-method = "initialize" & gt;
, but this method is applicationContext.get (). GetBean (BinaID);
Call the method.
I was thinking how to do this to anyone.
Thank you.
You can catch one from ApplicationListener
.
Comments
Post a Comment