Hi,
I am having trouble understanding step scope, for example in the documenation they have the following..
Now what does this mean in terms of how the Spring container manages this bean. Is it still a Singleton like all Sprinng beans are or is it created and destroyed only for the step of the job in which it is used?Code:<bean id="step1" parent="simpleStep"> <property name="itemReader"> <bean class="org.springframework.batch.item.file.FlatFileItemReader" scope="step"> <property value="#{jobParameters[inputFile]}" /> ... </bean> </property> ... </bean>
Thanks,
Jahan


Reply With Quote
