Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.jms
Class JMSCompatibilityPostCommitEventListener

java.lang.Object
  extended by org.nuxeo.ecm.core.jms.JMSCompatibilityPostCommitEventListener
All Implemented Interfaces:
PostCommitEventListener

public class JMSCompatibilityPostCommitEventListener
extends Object
implements PostCommitEventListener

Replacement of the org.nuxeo.ecm.core.event.compat.CompatibilityListener listener which is not postcommit. Without post commit, apogee randomly get events for not yet commited data.

Author:
Sun Seng David TAN (a.k.a. sunix)

Constructor Summary
JMSCompatibilityPostCommitEventListener()
           
 
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

JMSCompatibilityPostCommitEventListener

public JMSCompatibilityPostCommitEventListener()
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.