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

@@ -25,7 +25,7 @@ import org.springframework.batch.item.ClearFailedException;
import org.springframework.batch.item.FlushFailedException;
import org.springframework.batch.item.ItemWriter;
import org.springframework.batch.repeat.RepeatContext;
import org.springframework.batch.repeat.synch.RepeatSynchronizationManager;
import org.springframework.batch.repeat.support.RepeatSynchronizationManager;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.dao.DataAccessException;
import org.springframework.jdbc.core.JdbcOperations;

View File

@@ -23,7 +23,7 @@ import org.springframework.batch.item.ClearFailedException;
import org.springframework.batch.item.FlushFailedException;
import org.springframework.batch.item.ItemWriter;
import org.springframework.batch.repeat.RepeatContext;
import org.springframework.batch.repeat.synch.RepeatSynchronizationManager;
import org.springframework.batch.repeat.support.RepeatSynchronizationManager;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.orm.hibernate3.HibernateOperations;
import org.springframework.orm.hibernate3.HibernateTemplate;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.batch.repeat.synch;
package org.springframework.batch.repeat.support;
import org.springframework.batch.repeat.RepeatCallback;
import org.springframework.batch.repeat.RepeatContext;

View File

@@ -32,7 +32,6 @@ import org.springframework.batch.repeat.RepeatOperations;
import org.springframework.batch.repeat.exception.DefaultExceptionHandler;
import org.springframework.batch.repeat.exception.ExceptionHandler;
import org.springframework.batch.repeat.policy.DefaultResultCompletionPolicy;
import org.springframework.batch.repeat.synch.RepeatSynchronizationManager;
import org.springframework.util.Assert;
/**

View File

@@ -1,7 +0,0 @@
<html>
<body>
<p>
Infrastructure implementations of repeat synch concerns.
</p>
</body>
</html>

View File

@@ -24,7 +24,7 @@ import org.springframework.batch.retry.RetryContext;
import org.springframework.batch.retry.RetryPolicy;
import org.springframework.batch.retry.TerminatedRetryException;
import org.springframework.batch.retry.context.RetryContextSupport;
import org.springframework.batch.retry.synch.RetrySynchronizationManager;
import org.springframework.batch.retry.support.RetrySynchronizationManager;
/**
* A {@link RetryPolicy} that composes a list of other policies and delegates

View File

@@ -25,7 +25,7 @@ import org.springframework.batch.retry.RetryContext;
import org.springframework.batch.retry.RetryPolicy;
import org.springframework.batch.retry.TerminatedRetryException;
import org.springframework.batch.retry.context.RetryContextSupport;
import org.springframework.batch.retry.synch.RetrySynchronizationManager;
import org.springframework.batch.retry.support.RetrySynchronizationManager;
import org.springframework.batch.support.ExceptionClassifier;
import org.springframework.batch.support.ExceptionClassifierSupport;
import org.springframework.util.Assert;

View File

@@ -22,14 +22,14 @@ import org.springframework.batch.item.FailedItemIdentifier;
import org.springframework.batch.item.ItemKeyGenerator;
import org.springframework.batch.item.ItemReader;
import org.springframework.batch.item.ItemRecoverer;
import org.springframework.batch.repeat.synch.RepeatSynchronizationManager;
import org.springframework.batch.repeat.support.RepeatSynchronizationManager;
import org.springframework.batch.retry.RetryCallback;
import org.springframework.batch.retry.RetryContext;
import org.springframework.batch.retry.RetryPolicy;
import org.springframework.batch.retry.TerminatedRetryException;
import org.springframework.batch.retry.callback.ItemReaderRetryCallback;
import org.springframework.batch.retry.context.RetryContextSupport;
import org.springframework.batch.retry.synch.RetrySynchronizationManager;
import org.springframework.batch.retry.support.RetrySynchronizationManager;
import org.springframework.util.Assert;
/**

View File

@@ -21,7 +21,7 @@ import org.springframework.batch.retry.RetryContext;
import org.springframework.batch.retry.RetryPolicy;
import org.springframework.batch.retry.TerminatedRetryException;
import org.springframework.batch.retry.context.RetryContextSupport;
import org.springframework.batch.retry.synch.RetrySynchronizationManager;
import org.springframework.batch.retry.support.RetrySynchronizationManager;
/**
* A {@link RetryPolicy} that allows the first attempt but never permits a

View File

@@ -20,7 +20,7 @@ import org.springframework.batch.repeat.RepeatContext;
import org.springframework.batch.retry.RetryCallback;
import org.springframework.batch.retry.RetryContext;
import org.springframework.batch.retry.context.RetryContextSupport;
import org.springframework.batch.retry.synch.RetrySynchronizationManager;
import org.springframework.batch.retry.support.RetrySynchronizationManager;
import org.springframework.batch.support.BinaryExceptionClassifier;
/**

View File

@@ -21,7 +21,7 @@ import org.springframework.batch.retry.RetryContext;
import org.springframework.batch.retry.RetryPolicy;
import org.springframework.batch.retry.TerminatedRetryException;
import org.springframework.batch.retry.context.RetryContextSupport;
import org.springframework.batch.retry.synch.RetrySynchronizationManager;
import org.springframework.batch.retry.support.RetrySynchronizationManager;
/**
* A {@link RetryPolicy} that allows a retry only if it hasn't timed out. The

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.batch.retry.synch;
package org.springframework.batch.retry.support;
import org.springframework.batch.retry.RetryContext;

View File

@@ -33,7 +33,6 @@ import org.springframework.batch.retry.backoff.BackOffInterruptedException;
import org.springframework.batch.retry.backoff.BackOffPolicy;
import org.springframework.batch.retry.backoff.NoBackOffPolicy;
import org.springframework.batch.retry.policy.SimpleRetryPolicy;
import org.springframework.batch.retry.synch.RetrySynchronizationManager;
/**
* Template class that simplifies the execution of operations with retry

View File

@@ -1,7 +0,0 @@
<html>
<body>
<p>
Infrastructure implementations of retry synch concerns.
</p>
</body>
</html>