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 toy
You may catch a ContextRefreshedEvent with ApplicationListener.
ApplicationListener