LDAP-53: Add @since tags to all new classes in 1.2
http://opensource.atlassian.com/projects/spring/browse/LDAP-53
This commit is contained in:
@@ -29,6 +29,7 @@ import org.springframework.transaction.compensating.CompensatingTransactionOpera
|
||||
* unbind in {@link #rollback()}, and nothing in {@link #commit()}.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
* @since 1.2
|
||||
*/
|
||||
public class BindOperationExecutor implements
|
||||
CompensatingTransactionOperationExecutor {
|
||||
|
||||
@@ -29,6 +29,7 @@ import org.springframework.transaction.compensating.CompensatingTransactionOpera
|
||||
* {@link BindOperationExecutor}.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
* @since 1.2
|
||||
*/
|
||||
public class BindOperationRecorder implements
|
||||
CompensatingTransactionOperationRecorder {
|
||||
|
||||
@@ -29,7 +29,7 @@ import org.springframework.transaction.compensating.support.CompensatingTransact
|
||||
* for commit or rollback.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
*
|
||||
* @since 1.2
|
||||
*/
|
||||
public class DirContextHolder extends CompensatingTransactionHolderSupport {
|
||||
private DirContext ctx;
|
||||
|
||||
@@ -38,6 +38,7 @@ import org.springframework.transaction.compensating.CompensatingTransactionOpera
|
||||
* operations.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
* @since 1.2
|
||||
*/
|
||||
public class LdapCompensatingTransactionOperationFactory implements
|
||||
CompensatingTransactionOperationFactory {
|
||||
|
||||
@@ -30,6 +30,7 @@ import org.springframework.transaction.compensating.CompensatingTransactionOpera
|
||||
* modifyAttributes in {@link #rollback()}, and nothing in {@link #commit()}.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
* @since 1.2
|
||||
*/
|
||||
public class ModifyAttributesOperationExecutor implements
|
||||
CompensatingTransactionOperationExecutor {
|
||||
|
||||
@@ -38,6 +38,7 @@ import org.springframework.util.Assert;
|
||||
* {@link ModifyAttributesOperationExecutor} instances for rollback.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
* @since 1.2
|
||||
*/
|
||||
public class ModifyAttributesOperationRecorder implements
|
||||
CompensatingTransactionOperationRecorder {
|
||||
|
||||
@@ -23,6 +23,7 @@ import org.springframework.transaction.compensating.CompensatingTransactionOpera
|
||||
* A {@link CompensatingTransactionOperationExecutor} that performs nothing.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
* @since 1.2
|
||||
*/
|
||||
public class NullOperationExecutor implements
|
||||
CompensatingTransactionOperationExecutor {
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.springframework.transaction.compensating.CompensatingTransactionOpera
|
||||
* {@link CompensatingTransactionOperationRecorder} for the current operation.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
*
|
||||
* @since 1.2
|
||||
*/
|
||||
public class NullOperationRecorder implements
|
||||
CompensatingTransactionOperationRecorder {
|
||||
|
||||
@@ -34,6 +34,7 @@ import org.springframework.transaction.compensating.CompensatingTransactionOpera
|
||||
* original rebind opertaion.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
* @since 1.2
|
||||
*/
|
||||
public class RebindOperationExecutor implements
|
||||
CompensatingTransactionOperationExecutor {
|
||||
|
||||
@@ -28,6 +28,7 @@ import org.springframework.transaction.compensating.CompensatingTransactionOpera
|
||||
* {@link #recordOperation(Object[])}.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
* @since 1.2
|
||||
*/
|
||||
public class RebindOperationRecorder implements
|
||||
CompensatingTransactionOperationRecorder {
|
||||
|
||||
@@ -28,7 +28,7 @@ import org.springframework.transaction.compensating.CompensatingTransactionOpera
|
||||
* negating rename in {@link #rollback()}, and nothing in {@link #commit()}.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
*
|
||||
* @since 1.2
|
||||
*/
|
||||
public class RenameOperationExecutor implements
|
||||
CompensatingTransactionOperationExecutor {
|
||||
|
||||
@@ -30,7 +30,7 @@ import org.springframework.util.Assert;
|
||||
* rolling back.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
*
|
||||
* @since 1.2
|
||||
*/
|
||||
public class RenameOperationRecorder implements
|
||||
CompensatingTransactionOperationRecorder {
|
||||
|
||||
@@ -22,6 +22,7 @@ import javax.naming.Name;
|
||||
* rebind operations.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
* @since 1.2
|
||||
*/
|
||||
public interface TempEntryRenamingStrategy {
|
||||
|
||||
|
||||
@@ -31,6 +31,7 @@ import org.springframework.transaction.compensating.CompensatingTransactionOpera
|
||||
* entry from its temporary location.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
* @since 1.2
|
||||
*/
|
||||
public class UnbindOperationExecutor implements
|
||||
CompensatingTransactionOperationExecutor {
|
||||
|
||||
@@ -27,6 +27,7 @@ import org.springframework.transaction.compensating.CompensatingTransactionOpera
|
||||
* rollback.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
* @since 1.2
|
||||
*/
|
||||
public class UnbindOperationRecorder implements
|
||||
CompensatingTransactionOperationRecorder {
|
||||
|
||||
@@ -45,6 +45,7 @@ import org.springframework.ldap.transaction.compensating.TempEntryRenamingStrate
|
||||
* though it should have been removed or rebound.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
* @since 1.2
|
||||
*/
|
||||
public class DefaultTempEntryRenamingStrategy implements
|
||||
TempEntryRenamingStrategy {
|
||||
|
||||
@@ -42,7 +42,7 @@ import org.springframework.ldap.transaction.compensating.TempEntryRenamingStrate
|
||||
* storage.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
*
|
||||
* @since 1.2
|
||||
*/
|
||||
public class DifferentSubtreeTempEntryRenamingStrategy implements
|
||||
TempEntryRenamingStrategy {
|
||||
|
||||
@@ -30,6 +30,7 @@ import org.springframework.transaction.support.DefaultTransactionStatus;
|
||||
* and thus commit and rollback may result in unexpected results.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
* @since 1.2
|
||||
*/
|
||||
public class ContextSourceAndDataSourceTransactionManager extends
|
||||
DataSourceTransactionManager {
|
||||
|
||||
@@ -104,6 +104,7 @@ import org.springframework.transaction.support.DefaultTransactionStatus;
|
||||
* @see DefaultCompensatingTransactionOperationManager
|
||||
* @see TempEntryRenamingStrategy
|
||||
* @see TransactionAwareContextSourceProxy
|
||||
* @since 1.2
|
||||
*/
|
||||
public class ContextSourceTransactionManager extends
|
||||
AbstractPlatformTransactionManager {
|
||||
|
||||
@@ -36,6 +36,7 @@ import org.springframework.transaction.compensating.support.CompensatingTransact
|
||||
* @author Mattias Arthursson
|
||||
* @see ContextSourceTransactionManager
|
||||
* @see ContextSourceAndDataSourceTransactionManager
|
||||
* @since 1.2
|
||||
*/
|
||||
public class ContextSourceTransactionManagerDelegate extends
|
||||
AbstractCompensatingTransactionManagerDelegate {
|
||||
|
||||
@@ -35,6 +35,7 @@ import org.springframework.transaction.support.TransactionSynchronizationManager
|
||||
* {@link TransactionAwareDirContextInvocationHandler}.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
* @since 1.2
|
||||
*/
|
||||
public class TransactionAwareContextSourceProxy implements ContextSource {
|
||||
private ContextSource target;
|
||||
|
||||
@@ -32,6 +32,7 @@ import org.springframework.transaction.compensating.support.CompensatingTransact
|
||||
* storing compensating rollback operations for them.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
* @since 1.2
|
||||
*/
|
||||
public class TransactionAwareDirContextInvocationHandler implements
|
||||
InvocationHandler {
|
||||
|
||||
@@ -34,6 +34,7 @@ package org.springframework.transaction.compensating;
|
||||
* {@link #commit()} method to actually remove the entry.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
* @since 1.2
|
||||
*/
|
||||
public interface CompensatingTransactionOperationExecutor {
|
||||
/**
|
||||
|
||||
@@ -24,6 +24,7 @@ import org.springframework.transaction.compensating.support.DefaultCompensatingT
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
* @see DefaultCompensatingTransactionOperationManager
|
||||
* @since 1.2
|
||||
*/
|
||||
public interface CompensatingTransactionOperationFactory {
|
||||
/**
|
||||
|
||||
@@ -22,7 +22,7 @@ package org.springframework.transaction.compensating;
|
||||
* individual operation.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
*
|
||||
* @since 1.2
|
||||
*/
|
||||
public interface CompensatingTransactionOperationManager {
|
||||
/**
|
||||
|
||||
@@ -23,6 +23,7 @@ package org.springframework.transaction.compensating;
|
||||
* log the result.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
* @since 1.2
|
||||
*/
|
||||
public interface CompensatingTransactionOperationRecorder {
|
||||
/**
|
||||
|
||||
@@ -29,7 +29,7 @@ import org.springframework.transaction.support.TransactionSynchronizationManager
|
||||
* Managers.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
*
|
||||
* @since 1.2
|
||||
*/
|
||||
public abstract class AbstractCompensatingTransactionManagerDelegate {
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@ import org.springframework.transaction.support.ResourceHolderSupport;
|
||||
* Base class for compensating transaction resource holders.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
* @since 1.2
|
||||
*/
|
||||
public abstract class CompensatingTransactionHolderSupport extends
|
||||
ResourceHolderSupport {
|
||||
|
||||
@@ -22,6 +22,7 @@ import org.springframework.ldap.transaction.compensating.DirContextHolder;
|
||||
* the {@link DirContextHolder} associated with the current transaction.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
* @since 1.2
|
||||
*/
|
||||
public class CompensatingTransactionObject {
|
||||
private CompensatingTransactionHolderSupport holder;
|
||||
|
||||
@@ -10,6 +10,7 @@ import org.springframework.transaction.support.TransactionSynchronizationManager
|
||||
* Common methods for use with compensating transactions.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
* @since 1.2
|
||||
*/
|
||||
public class CompensatingTransactionUtils {
|
||||
|
||||
|
||||
@@ -32,6 +32,7 @@ import org.springframework.transaction.compensating.CompensatingTransactionOpera
|
||||
* and manages rollback of these in the reverse order.
|
||||
*
|
||||
* @author Mattias Arthursson
|
||||
* @since 1.2
|
||||
*/
|
||||
public class DefaultCompensatingTransactionOperationManager implements
|
||||
CompensatingTransactionOperationManager {
|
||||
|
||||
Reference in New Issue
Block a user