Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.audit.listener
Class AuditEventLogger

java.lang.Object
  extended by org.nuxeo.ecm.platform.audit.listener.AuditEventLogger
All Implemented Interfaces:
PostCommitEventListener

public class AuditEventLogger
extends Object
implements PostCommitEventListener

PostCommit async listener that pushes EventBundle into the Audit log.

Author:
tiry

Constructor Summary
AuditEventLogger()
           
 
Method Summary
 void handleEvent(EventBundle events)
          Handles the set of events that were raised during the life of an user operation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuditEventLogger

public AuditEventLogger()
Method Detail

handleEvent

public void handleEvent(EventBundle events)
                 throws ClientException
Description copied from interface: PostCommitEventListener
Handles the set of events that were raised during the life of an user operation.

The events are fired as a BundleEvent after the transaction is committed.

Specified by:
handleEvent in interface PostCommitEventListener
Parameters:
events - the events to handle
Throws:
ClientException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.