1. 程式人生 > >Springbatch Miscellanea Notes

Springbatch Miscellanea Notes

spring span truct ask 方式 cnblogs con -a pri

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