org.hibernate.envers.synchronization.work
Interface KeepCheckDispatcher

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

public interface KeepCheckDispatcher

Visitor patter dispatcher.

Author:
Adam Warski (adam at warski dot org)

Method Summary
 KeepCheckResult dispatch(KeepCheckVisitor first)
          Shuold be invoked on the second work unit.
 

Method Detail

dispatch

KeepCheckResult dispatch(KeepCheckVisitor first)
Shuold be invoked on the second work unit.

Parameters:
first - First work unit (that is, the one added earlier).
Returns:
Which work unit should be kept.


Copyright © 2008 Hibernate.org. All Rights Reserved.