首页 > 代码库 > Springbatch Miscellanea Notes

Springbatch Miscellanea Notes

1.scope="step",如下图,这是一种后绑定的方式,生成Step的时候,才去创建bean

<bean id="testTasklet" parent="baseTasklet" scope="step">
    <constructor-arg name="configKey" value="" />
    <constructor-arg name="taskletAppl">
        <bean class="com.csii.bank.core.batch.business.appl.ImportExtFundRtxnAppl" />
    </constructor-arg>
</bean>

 

Springbatch Miscellanea Notes