org.nuxeo.ecm.core.jms
Class JMSCompatibilityPostCommitEventListener
java.lang.Object
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)
Method Summary |
void |
handleEvent(EventBundle events)
Handles the set of events that were raised during the life of an user
operation. |
JMSCompatibilityPostCommitEventListener
public JMSCompatibilityPostCommitEventListener()
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
Copyright © 2011 Nuxeo SAS. All Rights Reserved.