public class AuditProcess extends Object implements BeforeTransactionCompletionProcess
Constructor and Description |
---|
AuditProcess(RevisionInfoGenerator revisionInfoGenerator,
SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
void |
addWorkUnit(AuditWorkUnit vwu) |
void |
cacheEntityState(Object id,
String entityName,
Object[] snapshot) |
void |
doBeforeTransactionCompletion(SessionImplementor session)
Perform whatever processing is encapsulated here before completion of the transaction.
|
Object[] |
getCachedEntityState(Object id,
String entityName) |
Object |
getCurrentRevisionData(Session session,
boolean persist) |
public AuditProcess(RevisionInfoGenerator revisionInfoGenerator, SessionImplementor session)
public void addWorkUnit(AuditWorkUnit vwu)
public void doBeforeTransactionCompletion(SessionImplementor session)
BeforeTransactionCompletionProcess
doBeforeTransactionCompletion
in interface BeforeTransactionCompletionProcess
session
- The session on which the transaction is preparing to complete.Copyright © 2020 JBoss by Red Hat. All rights reserved.