Interface WorkUnitMergeDispatcher

All Known Subinterfaces:
AuditWorkUnit
All Known Implementing Classes:
AbstractAuditWorkUnit, AddWorkUnit, CollectionChangeWorkUnit, DelWorkUnit, FakeBidirectionalRelationWorkUnit, ModWorkUnit, PersistentCollectionChangeWorkUnit

public interface WorkUnitMergeDispatcher
Visitor patter dispatcher.
  • Method Details

    • dispatch

      Should be invoked on the second work unit.
      Parameters:
      first - First work unit (that is, the one added earlier).
      Returns:
      The work unit that is the result of the merge.