May 7th, 2008, 10:18 AM
In my application, I need to change some Spring configurations using main args.
So in main I prepare a PropertyPlaceholderConfigurer with the arguments. And register it using addBeanFactoryPostProcessor in the aplication context (ClassPathXmlApplicationContext). Then I pass the aplication context (not yet initialized) to MyApplicationLauncher where the splash screen can show progress while initializing it.
I can share the code. Put it here?
May 10th, 2008, 03:30 AM
Could you send it to me?
Thank you very much
May 12th, 2008, 05:02 PM
If it's small, post it here, so everyone can benefit . Share your knowledge, my friend!