Results 1 to 3 of 3

Thread: Step Resource Registration

  1. #1
    Join Date
    Feb 2009
    Posts
    10

    Default Step Resource Registration

    Is there a way to get to the Job or step context from a regular bean, like a FileResourceBean?
    I’m thinking about how to register resources used in a given step.
    I'm not sure if the Job Context or something related to the job or step is readily available via the app context or something else.

    Thanks,
    Ed

  2. #2
    Join Date
    Dec 2005
    Location
    Lyon, France
    Posts
    311

    Default

    did you try late binding? It allows using the job parameters in the Spring configuration.

  3. #3
    Join Date
    Feb 2009
    Posts
    10

    Default

    Thanks but that's not what i'm looking for.
    I'm looking for the bean to gain access to the job or step context once the Spring batch job is running. The bean is just a regular FIleSystemResource bean or something like it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •