-
Sep 12th, 2009, 06:14 AM
#1
How is the ApplicationContext loaded?
Hi,
Just wondering how the ApplicationContext is loaded. Is some code of Spring Batch is doing something like creating an object of ClassPathXmlApplicationContextJobFactory or such to do so?
Thanks
-
Sep 12th, 2009, 02:22 PM
#2
Assuming you're running from the command line, that's exactly what happens:
http://static.springsource.org/sprin...romCommandLine
The CommandLineJobRunner will bootstrap the application context you specify as program arguments, get the Job and JobLauncher, and start the job with the parameters you passed in.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules