Class EntityChangeNotifier
- java.lang.Object
-
- org.hibernate.envers.internal.synchronization.EntityChangeNotifier
-
public class EntityChangeNotifier extends Object
NotifiesRevisionInfoGenerator
about changes made in the current revision.
-
-
Constructor Summary
Constructors Constructor Description EntityChangeNotifier(RevisionInfoGenerator revisionInfoGenerator, SessionImplementor sessionImplementor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
entityChanged(Session session, Object currentRevisionData, AuditWorkUnit vwu)
NotifiesRevisionInfoGenerator
about changes made in the current revision.
-
-
-
Constructor Detail
-
EntityChangeNotifier
public EntityChangeNotifier(RevisionInfoGenerator revisionInfoGenerator, SessionImplementor sessionImplementor)
-
-
Method Detail
-
entityChanged
public void entityChanged(Session session, Object currentRevisionData, AuditWorkUnit vwu)
NotifiesRevisionInfoGenerator
about changes made in the current revision. Provides information about modified entity class, entity name and its id, as well asRevisionType
and revision log entity.- Parameters:
session
- Active session.currentRevisionData
- Revision log entity.vwu
- Performed work unit.
-
-