Review process: Merge synch packages into support in retry / repeat.

This commit is contained in:
dsyer
2008-03-14 11:06:32 +00:00
parent ed1680bf14
commit 07877a9538
32 changed files with 32 additions and 46 deletions

View File

@@ -29,7 +29,7 @@ import junit.framework.TestCase;
import org.easymock.MockControl;
import org.springframework.batch.repeat.RepeatContext;
import org.springframework.batch.repeat.context.RepeatContextSupport;
import org.springframework.batch.repeat.synch.RepeatSynchronizationManager;
import org.springframework.batch.repeat.support.RepeatSynchronizationManager;
import org.springframework.dao.DataAccessException;
import org.springframework.jdbc.UncategorizedSQLException;
import org.springframework.jdbc.core.JdbcTemplate;

View File

@@ -26,7 +26,7 @@ import org.springframework.batch.item.ClearFailedException;
import org.springframework.batch.item.FlushFailedException;
import org.springframework.batch.item.ItemWriter;
import org.springframework.batch.repeat.context.RepeatContextSupport;
import org.springframework.batch.repeat.synch.RepeatSynchronizationManager;
import org.springframework.batch.repeat.support.RepeatSynchronizationManager;
import org.springframework.dao.DataAccessException;
import org.springframework.orm.hibernate3.HibernateTemplate;
import org.springframework.transaction.support.TransactionSynchronizationManager;

View File

@@ -14,12 +14,13 @@
* limitations under the License.
*/
package org.springframework.batch.repeat.synch;
package org.springframework.batch.repeat.support;
import junit.framework.TestCase;
import org.springframework.batch.repeat.RepeatContext;
import org.springframework.batch.repeat.context.RepeatContextSupport;
import org.springframework.batch.repeat.support.RepeatSynchronizationManager;
public class RepeatSynchronizationManagerTests extends TestCase {

View File

@@ -28,7 +28,6 @@ import org.springframework.batch.repeat.context.RepeatContextSupport;
import org.springframework.batch.repeat.exception.ExceptionHandler;
import org.springframework.batch.repeat.policy.CompletionPolicySupport;
import org.springframework.batch.repeat.policy.SimpleCompletionPolicy;
import org.springframework.batch.repeat.synch.RepeatSynchronizationManager;
/**
* @author Dave Syer

View File

@@ -19,7 +19,7 @@ package org.springframework.batch.retry.policy;
import junit.framework.TestCase;
import org.springframework.batch.retry.RetryContext;
import org.springframework.batch.retry.synch.RetrySynchronizationManager;
import org.springframework.batch.retry.support.RetrySynchronizationManager;
public class AlwaysRetryPolicyTests extends TestCase {

View File

@@ -24,7 +24,7 @@ import junit.framework.TestCase;
import org.springframework.batch.retry.RetryContext;
import org.springframework.batch.retry.RetryPolicy;
import org.springframework.batch.retry.TerminatedRetryException;
import org.springframework.batch.retry.synch.RetrySynchronizationManager;
import org.springframework.batch.retry.support.RetrySynchronizationManager;
public class CompositeRetryPolicyTests extends TestCase {

View File

@@ -23,7 +23,7 @@ import java.util.Map;
import junit.framework.TestCase;
import org.springframework.batch.retry.RetryContext;
import org.springframework.batch.retry.synch.RetrySynchronizationManager;
import org.springframework.batch.retry.support.RetrySynchronizationManager;
import org.springframework.batch.support.ExceptionClassifierSupport;
public class ExceptionClassifierRetryPolicyTests extends TestCase {

View File

@@ -30,7 +30,7 @@ import org.springframework.batch.item.ItemReader;
import org.springframework.batch.item.support.ListItemReader;
import org.springframework.batch.repeat.RepeatContext;
import org.springframework.batch.repeat.context.RepeatContextSupport;
import org.springframework.batch.repeat.synch.RepeatSynchronizationManager;
import org.springframework.batch.repeat.support.RepeatSynchronizationManager;
import org.springframework.batch.retry.ListItemReaderRecoverer;
import org.springframework.batch.retry.RetryCallback;
import org.springframework.batch.retry.RetryContext;

View File

@@ -19,7 +19,7 @@ package org.springframework.batch.retry.policy;
import junit.framework.TestCase;
import org.springframework.batch.retry.RetryContext;
import org.springframework.batch.retry.synch.RetrySynchronizationManager;
import org.springframework.batch.retry.support.RetrySynchronizationManager;
public class NeverRetryPolicyTests extends TestCase {

View File

@@ -19,7 +19,7 @@ package org.springframework.batch.retry.policy;
import junit.framework.TestCase;
import org.springframework.batch.retry.RetryContext;
import org.springframework.batch.retry.synch.RetrySynchronizationManager;
import org.springframework.batch.retry.support.RetrySynchronizationManager;
public class SimpleRetryPolicyTests extends TestCase {

View File

@@ -19,7 +19,7 @@ package org.springframework.batch.retry.policy;
import junit.framework.TestCase;
import org.springframework.batch.retry.RetryContext;
import org.springframework.batch.retry.synch.RetrySynchronizationManager;
import org.springframework.batch.retry.support.RetrySynchronizationManager;
public class TimeoutRetryPolicyTests extends TestCase {

View File

@@ -14,13 +14,14 @@
* limitations under the License.
*/
package org.springframework.batch.retry.synch;
package org.springframework.batch.retry.support;
import junit.framework.TestCase;
import org.springframework.batch.retry.RetryCallback;
import org.springframework.batch.retry.RetryContext;
import org.springframework.batch.retry.context.RetryContextSupport;
import org.springframework.batch.retry.support.RetrySynchronizationManager;
import org.springframework.batch.retry.support.RetryTemplate;
/**

View File

@@ -27,7 +27,6 @@ import org.springframework.batch.retry.backoff.BackOffPolicy;
import org.springframework.batch.retry.backoff.StatelessBackOffPolicy;
import org.springframework.batch.retry.policy.NeverRetryPolicy;
import org.springframework.batch.retry.policy.SimpleRetryPolicy;
import org.springframework.batch.retry.synch.RetrySynchronizationManager;
/**
* @author Rob Harrop