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 |
doBeforeTransactionCompletion(SessionImplementor session)
Perform whatever processing is encapsulated here before completion of the transaction.
|
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 © 2017 JBoss by Red Hat. All rights reserved.