Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.event
Interface ReconnectedEventBundle

All Superinterfaces:
EventBundle, Iterable<Event>, Serializable
All Known Implementing Classes:
ReconnectedEventBundleImpl, ReconnectedJMSEventBundle

public interface ReconnectedEventBundle
extends EventBundle

Because EventBundle can be processed asynchronously, they can be executed:

This interface is used to mark Bundles that supports this kind of processing. This basically means:

Author:
tiry

Field Summary
static String SKIP_REFETCH_DOCUMENT_CONTEXT_KEY
          Marker to pass and set to true in document models context data when passing it in event properties, to avoid refetching it when reconnecting.
 
Method Summary
 boolean comesFromJMS()
          Marker for Bundles coming from JMS.
 void disconnect()
          Manage cleanup after processing.
 
Methods inherited from interface org.nuxeo.ecm.core.event.EventBundle
containsEventName, getName, getSourceVMID, hasRemoteSource, isEmpty, peek, push, size
 
Methods inherited from interface java.lang.Iterable
iterator
 

Field Detail

SKIP_REFETCH_DOCUMENT_CONTEXT_KEY

static final String SKIP_REFETCH_DOCUMENT_CONTEXT_KEY
Marker to pass and set to true in document models context data when passing it in event properties, to avoid refetching it when reconnecting.

See Also:
Constant Field Values
Method Detail

disconnect

void disconnect()
Manage cleanup after processing.


comesFromJMS

boolean comesFromJMS()
Marker for Bundles coming from JMS.


Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.