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:
- in a different security context
- with a different
CoreSession
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. |
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
disconnect
void disconnect()
- Manage cleanup after processing.
comesFromJMS
boolean comesFromJMS()
- Marker for Bundles coming from JMS.
Copyright © 2011 Nuxeo SAS. All Rights Reserved.