Isn't that the default?
http://www.springframework.org/docs/...artup(boolean)
Isn't that the default?
http://www.springframework.org/docs/...artup(boolean)
Last edited by karldmoore; Aug 18th, 2007 at 05:35 PM.
Barracuda Networks SSL VPN Lead Developer
http://pramatr.wordpress.com
http://twitter.com/karldmoore
http://www.linkedin.com/in/karldmoore
Any postings are my own opinion, and should not be attributed to my employer or clients.
Did this solve you problem in the end?
Last edited by karldmoore; Aug 18th, 2007 at 05:35 PM.
Barracuda Networks SSL VPN Lead Developer
http://pramatr.wordpress.com
http://twitter.com/karldmoore
http://www.linkedin.com/in/karldmoore
Any postings are my own opinion, and should not be attributed to my employer or clients.
karldmoore,
Apologies for the delayed posting. I got distracted and drifted into few other tasks.
Yes, your suggestion worked. My code now looks like:
and it works as expected.Code:ApplicationContext factory = new ClassPathXmlApplicationContext ("config.xml" ); while (true) { System.out.println("Main thread going to sleep for a bit"); Thread.sleep(1000 * 10); System.out.println("Is the job running?"); }
Thank you very much!