Search:

Type: Posts; User: plaflamme; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    1,268

    If Job doesn't expose anything more, then a...

    If Job doesn't expose anything more, then a naming convention really is the only way to segment jobs. I personally, don't like that solution very much as a job's name and its type are really two...
  2. Replies
    3
    Views
    1,268

    Segmenting Jobs by type

    Hi all,

    I'm successfully using Spring Batch to manage several batch jobs. The managed jobs are of different nature: some import data, the others export data. I'd like to have the ability to...
  3. Indeed! That's great thanks.

    Indeed! That's great thanks.
  4. This is from the...

    This is from the ClassPathXmlJobRegistry#afterPropertiesSet method:



    String[] names = context.getBeanNamesForType(Job.class);

    if (names.length > 1) {
    throw new DuplicateJobException("More...
  5. ClassPathXmlJobRegistry - restriction on number of defined jobs

    I'm wondering why the ClassPathXmlJobRegistry refuses to load an application context when it defines multiples beans that are instances of Job.

    What's the rationale behind this restriction?
    ...
Results 1 to 5 of 5