Package org.eclipse.emf.cdo.transaction
Class CDOAutoLocker.ForSingleValuedChanges
- java.lang.Object
-
- org.eclipse.emf.cdo.transaction.CDODefaultTransactionHandler1
-
- org.eclipse.emf.cdo.transaction.CDOAutoLocker
-
- org.eclipse.emf.cdo.transaction.CDOAutoLocker.ForSingleValuedChanges
-
- All Implemented Interfaces:
CDOTransactionHandler1
,CDOTransactionHandler1.WithUndo
,CDOTransactionHandlerBase
- Enclosing class:
- CDOAutoLocker
public static class CDOAutoLocker.ForSingleValuedChanges extends CDOAutoLocker
Anauto locker
that only locks objects when their single-valued features are changed.This auto locker is useful in combination with a
conflict resolver
that is able to automatically resolve possible conflicts in many-valued features, such asCDOMergingConflictResolver
.- Since:
- 4.5
- Author:
- Eike Stepper
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.cdo.transaction.CDOAutoLocker
CDOAutoLocker.ForSingleValuedChanges
-
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.transaction.CDOTransactionHandler1
CDOTransactionHandler1.WithUndo
-
-
Constructor Summary
Constructors Constructor Description ForSingleValuedChanges()
ForSingleValuedChanges(long timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
modifyingObject(CDOTransaction transaction, CDOObject object, CDOFeatureDelta featureChange)
This implementation does nothing.-
Methods inherited from class org.eclipse.emf.cdo.transaction.CDODefaultTransactionHandler1
attachingObject, detachingObject, handleDefault, undoingObject
-
-
-
-
Method Detail
-
modifyingObject
public void modifyingObject(CDOTransaction transaction, CDOObject object, CDOFeatureDelta featureChange)
Description copied from class:CDODefaultTransactionHandler1
This implementation does nothing. Clients may override to provide specialized behavior.- Specified by:
modifyingObject
in interfaceCDOTransactionHandler1
- Overrides:
modifyingObject
in classCDOAutoLocker
-
-