Package org.nuxeo.ecm.core.event
Interface ReconnectedEventBundle
- All Superinterfaces:
EventBundle,Iterable<Event>,Serializable
- All Known Implementing Classes:
ReconnectedEventBundleImpl
Because
EventBundle can be processed asynchronously, they can be executed:
- in a different security context
- with a different
CoreSession
- Create a JAAS session via
Framework.login() - Create a new usage
CoreSession - refetch any
EventContextargs / properties according to new session - provide cleanup method
- Author:
- tiry
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringMarker 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
Methods inherited from interface org.nuxeo.ecm.core.event.EventBundle
containsEventName, getName, getSourceVMID, hasRemoteSource, isEmpty, peek, push, sizeMethods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Field Details
-
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:
-
-
Method Details
-
disconnect
void disconnect()Manage cleanup after processing.
-