RESOLVED - issue BATCH-1338: Allow segregation of jobs by group, type or origin

http://jira.springframework.org/browse/BATCH-1338

Deprecated and replaced ClassPathXmlJobRegistry
This commit is contained in:
dsyer
2009-09-09 12:39:32 +00:00
parent f3cec725f0
commit 0d7c7034ae
8 changed files with 273 additions and 222 deletions

View File

@@ -30,9 +30,11 @@
<bean id="jobExplorer" class="org.springframework.batch.core.explore.support.JobExplorerFactoryBean"
p:dataSource-ref="dataSource" />
<bean id="jobRegistry" class="org.springframework.batch.core.configuration.support.ClassPathXmlJobRegistry" >
<bean id="jobLoader" class="org.springframework.batch.core.configuration.support.ClassPathXmlJobLoader" >
<property name="jobPaths" value="jobs/skipSampleJob.xml" />
</bean>
<bean id="jobRegistry" class="org.springframework.batch.core.configuration.support.MapJobRegistry" />
<bean id="jdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate">
<property name="dataSource" ref="dataSource" />