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)
BeforeTransactionCompletionProcessdoBeforeTransactionCompletion in interface BeforeTransactionCompletionProcesssession - The session on which the transaction is preparing to complete.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.