Class AuditProcess
- java.lang.Object
-
- org.hibernate.envers.internal.synchronization.AuditProcess
-
- All Implemented Interfaces:
BeforeTransactionCompletionProcess
public class AuditProcess extends Object implements BeforeTransactionCompletionProcess
-
-
Constructor Summary
Constructors Constructor Description AuditProcess(RevisionInfoGenerator revisionInfoGenerator, SessionImplementor session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddWorkUnit(AuditWorkUnit vwu)voidcacheEntityState(Object id, String entityName, Object[] snapshot)voiddoBeforeTransactionCompletion(SessionImplementor session)Perform whatever processing is encapsulated here before completion of the transaction.Object[]getCachedEntityState(Object id, String entityName)ObjectgetCurrentRevisionData(Session session, boolean persist)
-
-
-
Constructor Detail
-
AuditProcess
public AuditProcess(RevisionInfoGenerator revisionInfoGenerator, SessionImplementor session)
-
-
Method Detail
-
addWorkUnit
public void addWorkUnit(AuditWorkUnit vwu)
-
doBeforeTransactionCompletion
public void doBeforeTransactionCompletion(SessionImplementor session)
Description copied from interface:BeforeTransactionCompletionProcessPerform whatever processing is encapsulated here before completion of the transaction.- Specified by:
doBeforeTransactionCompletionin interfaceBeforeTransactionCompletionProcess- Parameters:
session- The session on which the transaction is preparing to complete.
-
-