Package org.eclipse.emf.spi.cdo
Class AbstractConflictResolver
java.lang.Object
org.eclipse.emf.spi.cdo.AbstractConflictResolver
- All Implemented Interfaces:
CDOConflictResolver
- Direct Known Subclasses:
AbstractChangeSetsConflictResolver,AbstractObjectConflictResolver
Base for conflict resolvers that retain a transaction association while that transaction is open. Subclasses can
install and remove transaction-specific listeners or handlers in
hookTransaction(CDOTransaction) and
unhookTransaction(CDOTransaction) when the association changes.- Since:
- 4.0
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.transaction.CDOConflictResolver
CDOConflictResolver.NonConflictAware -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns thetransactionthis conflict resolver is associated with.protected voidhookTransaction(CDOTransaction transaction) voidsetTransaction(CDOTransaction transaction) Sets thetransactionthis conflict resolver is to be associated with.protected voidunhookTransaction(CDOTransaction transaction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.emf.cdo.transaction.CDOConflictResolver
resolveConflicts
-
Constructor Details
-
AbstractConflictResolver
public AbstractConflictResolver()
-
-
Method Details
-
getTransaction
Description copied from interface:CDOConflictResolverReturns thetransactionthis conflict resolver is associated with.- Specified by:
getTransactionin interfaceCDOConflictResolver
-
setTransaction
Description copied from interface:CDOConflictResolverSets thetransactionthis conflict resolver is to be associated with.- Specified by:
setTransactionin interfaceCDOConflictResolver
-
hookTransaction
-
unhookTransaction
-