IN PROGRESS - BATCH-693: Refactor samples along domain contours
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.batch.sample.advice;
|
||||
package org.springframework.batch.sample.common;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.batch.sample.common;
|
||||
package org.springframework.batch.sample.support;
|
||||
|
||||
import org.springframework.batch.item.support.AbstractItemWriter;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.batch.sample.common;
|
||||
package org.springframework.batch.sample.support;
|
||||
|
||||
|
||||
import org.springframework.batch.core.UnexpectedJobExecutionException;
|
||||
@@ -1,4 +1,4 @@
|
||||
package org.springframework.batch.sample.common;
|
||||
package org.springframework.batch.sample.support;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
@@ -30,7 +30,7 @@
|
||||
</bean>
|
||||
</property>
|
||||
<property name="itemWriter">
|
||||
<bean id="writer" class="org.springframework.batch.sample.common.DummyItemWriter" />
|
||||
<bean id="writer" class="org.springframework.batch.sample.support.DummyItemWriter" />
|
||||
</property>
|
||||
</bean>
|
||||
</property>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
<!-- INFRASTRUCTURE SETUP -->
|
||||
|
||||
<bean id="itemReader"
|
||||
class="org.springframework.batch.sample.common.ExceptionThrowingItemReaderProxy">
|
||||
class="org.springframework.batch.sample.support.ExceptionThrowingItemReaderProxy">
|
||||
<property name="itemReader" ref="fileItemReader" />
|
||||
</bean>
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
</bean>
|
||||
|
||||
<bean id="itemTrackingWriter"
|
||||
class="org.springframework.batch.sample.common.ItemTrackingItemWriter"
|
||||
class="org.springframework.batch.sample.support.ItemTrackingItemWriter"
|
||||
p:validationFailure="2" />
|
||||
|
||||
<bean id="tradeSqlItemReader"
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
<property name="dataSource" ref="dataSource" />
|
||||
</bean>
|
||||
|
||||
<bean id="logAdvice" class="org.springframework.batch.sample.advice.LogAdvice" />
|
||||
<bean id="logAdvice" class="org.springframework.batch.sample.common.LogAdvice" />
|
||||
|
||||
<bean id="eventAdvice" class="org.springframework.batch.sample.advice.StepExecutionApplicationEventAdvice" />
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import javax.sql.DataSource;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.batch.sample.common.ItemTrackingItemWriter;
|
||||
import org.springframework.batch.sample.support.ItemTrackingItemWriter;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.jdbc.core.JdbcTemplate;
|
||||
import org.springframework.test.context.ContextConfiguration;
|
||||
|
||||
@@ -11,7 +11,7 @@ import org.springframework.batch.core.UnexpectedJobExecutionException;
|
||||
import org.springframework.batch.item.support.ListItemReader;
|
||||
import org.springframework.batch.repeat.context.RepeatContextSupport;
|
||||
import org.springframework.batch.repeat.support.RepeatSynchronizationManager;
|
||||
import org.springframework.batch.sample.common.ExceptionThrowingItemReaderProxy;
|
||||
import org.springframework.batch.sample.support.ExceptionThrowingItemReaderProxy;
|
||||
|
||||
public class ExceptionThrowingItemReaderProxyTests {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user