Announcement Announcement Module
Collapse
No announcement yet.
How is the ApplicationContext loaded? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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.

    Comment

    Working...
    X