IN PROGRESS - BATCH-693: Refactor samples along domain contours

This commit is contained in:
robokaso
2008-07-25 12:06:36 +00:00
parent 27901294b3
commit 797b9d21f2
10 changed files with 10 additions and 10 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -1,4 +1,4 @@
package org.springframework.batch.sample.common;
package org.springframework.batch.sample.support;
import java.util.ArrayList;
import java.util.List;

View File

@@ -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>

View File

@@ -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>

View File

@@ -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"

View File

@@ -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" />

View File

@@ -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;

View File

@@ -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 {