Class EntityChangeNotifier
java.lang.Object
org.hibernate.envers.internal.synchronization.EntityChangeNotifier
Notifies
RevisionInfoGenerator
about changes made in the current revision.-
Constructor Summary
ConstructorsConstructorDescriptionEntityChangeNotifier
(RevisionInfoGenerator revisionInfoGenerator, SessionImplementor sessionImplementor) -
Method Summary
Modifier and TypeMethodDescriptionvoid
entityChanged
(Session session, Object currentRevisionData, AuditWorkUnit vwu) NotifiesRevisionInfoGenerator
about changes made in the current revision.
-
Constructor Details
-
EntityChangeNotifier
public EntityChangeNotifier(RevisionInfoGenerator revisionInfoGenerator, SessionImplementor sessionImplementor)
-
-
Method Details
-
entityChanged
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.
-