protected static class PostCommitEventExecutor.EventBundleBulkRunner extends Object implements Callable<Boolean>
The event bundle is reconnected to a single session and a single transaction is started for all the listeners.
In case of exception in a listener, the transaction is rolled back and processing stops.
In case of timeout, the transaction is rolled back and processing stops.
Modifier and Type | Field and Description |
---|---|
protected EventBundle |
bundle |
protected String |
callerThread |
protected List<EventListenerDescriptor> |
listeners |
Constructor and Description |
---|
EventBundleBulkRunner(List<EventListenerDescriptor> listeners,
EventBundle bundle) |
protected final List<EventListenerDescriptor> listeners
protected final EventBundle bundle
protected final String callerThread
public EventBundleBulkRunner(List<EventListenerDescriptor> listeners, EventBundle bundle)
Copyright © 2018 Nuxeo. All rights reserved.