OPEN - issue BATCH-429: Combine the core and execution modules

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

Collapse step/support packages to remove cycle.
This commit is contained in:
dsyer
2008-03-09 09:43:45 +00:00
parent 70cedc7ea0
commit 94b067be39
39 changed files with 48 additions and 78 deletions

View File

@@ -1,7 +1,7 @@
package org.springframework.batch.sample.step.support;
import org.springframework.batch.core.JobInterruptedException;
import org.springframework.batch.core.step.support.StepInterruptionPolicy;
import org.springframework.batch.core.step.StepInterruptionPolicy;
import org.springframework.batch.repeat.RepeatContext;
public class NoopStepInterruptionPolicy implements StepInterruptionPolicy {

View File

@@ -10,7 +10,7 @@
<bean id="retrySample" parent="simpleJob">
<property name="steps">
<bean id="step1" parent="simpleStep"
class="org.springframework.batch.core.step.support.StatefulRetryStepFactoryBean">
class="org.springframework.batch.core.step.StatefulRetryStepFactoryBean">
<property name="itemReader" ref="itemGenerator" />
<property name="itemWriter" ref="itemWriter" />
<property name="retryLimit" value="3" />

View File

@@ -58,7 +58,7 @@
<property name="allowStartIfComplete" value="true" />
</bean>
<bean id="simpleStep" class="org.springframework.batch.core.step.support.DefaultStepFactoryBean"
<bean id="simpleStep" class="org.springframework.batch.core.step.DefaultStepFactoryBean"
abstract="true">
<property name="transactionManager" ref="transactionManager" />
<property name="jobRepository" ref="jobRepository" />