Announcement Announcement Module
Collapse
No announcement yet.
Should I create a Class path job locator ? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Should I create a Class path job locator ?

    My case is that I am using a MDB to call the JobLauncher to launch jobs.

    And I want to separate the MDB , the JobLauncher config with the jobs config.

    And the jobs config folder is set in the MDB descriptor (ejb-jar.xml) .

    User may dynamic upload the job definition config into that folder. The job locator will be aware of the change of that folder.

    By all this, I want to deploy new job without restarting the MDB.

    It seems the current MapJobRegistry and ReferenceJobFactory can not fulfill my requirement.

    So should I create a class path job locator to load the jobs config ? Any suggestion from Spring ?

    Am I wrong ?

    thanks in advance.
    Last edited by stephenbute; Jun 18th, 2008, 01:26 AM.

  • #2
    You are right. The samples contain a ClasspathXmlApplicationContextJobFactory for this purpose (promoted to core in 1.1).

    Comment

    Working...
    X