Class EntityChangeNotifier
- java.lang.Object
-
- org.hibernate.envers.internal.synchronization.EntityChangeNotifier
-
public class EntityChangeNotifier extends Object
NotifiesRevisionInfoGeneratorabout 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 voidentityChanged(Session session, Object currentRevisionData, AuditWorkUnit vwu)NotifiesRevisionInfoGeneratorabout 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)
NotifiesRevisionInfoGeneratorabout changes made in the current revision. Provides information about modified entity class, entity name and its id, as well asRevisionTypeand revision log entity.- Parameters:
session- Active session.currentRevisionData- Revision log entity.vwu- Performed work unit.
-
-