-
Sep 23rd, 2008, 09:27 AM
#1
configuring the batch framework
I am just wondering if its possible to extend the spring batch framework such that the various bean configurations that we provide through xml file could be provided to the framework through a datasource.
for example, the entry in the xml file for a job like <bean id="invoiceJob" parent="simpleJob"> and all the other relevent entries be made in a database and the framework will pick it up from there. Does spring batch framework provide any extention points which can utilised for the same.
Could any one please provide pointer towards how this can be done, if feasible ,in limited time period.
Thanks in advance
-
Sep 23rd, 2008, 12:49 PM
#2
In theory, you can pull bean definitions from anywhere. However, if I had the requirement I would probably create a FactoryBean for Jobs and Steps that also took a Dao to pull in the parameters.
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