public class ReconnectedJMSEventBundle extends ReconnectedEventBundleImpl
EventBundle
that needs to be reconnected to a usable Session.Modifier and Type | Field and Description |
---|---|
protected SerializableEventBundle |
jmsEventBundle |
listenerName, loginCtx, reconnectedCoreSession, reconnectedEvents, sourceEventBundle
SKIP_REFETCH_DOCUMENT_CONTEXT_KEY
Constructor and Description |
---|
ReconnectedJMSEventBundle(SerializableEventBundle jmsEventBundle) |
Modifier and Type | Method and Description |
---|---|
boolean |
comesFromJMS()
Marker for Bundles coming from JMS.
|
String |
getName()
Gets the bundle name.
|
protected List<Event> |
getReconnectedEvents() |
VMID |
getSourceVMID()
Returns the VMID of the JVM where the bundle was created.
|
boolean |
hasRemoteSource()
Tests whether or not this event bundle was created on a remote machine.
|
boolean |
isEmpty()
Tests whether or not this bundle is empty.
|
containsEventName, disconnect, getEventNames, getReconnectedCoreSession, iterator, peek, push, refetchDocumentModel, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
protected final SerializableEventBundle jmsEventBundle
public ReconnectedJMSEventBundle(SerializableEventBundle jmsEventBundle)
protected List<Event> getReconnectedEvents()
getReconnectedEvents
in class ReconnectedEventBundleImpl
public String getName()
EventBundle
This is usually the first event repository name in the bundle but the implementation may decide to change this behavior.
getName
in interface EventBundle
getName
in class ReconnectedEventBundleImpl
public VMID getSourceVMID()
EventBundle
getSourceVMID
in interface EventBundle
getSourceVMID
in class ReconnectedEventBundleImpl
public boolean hasRemoteSource()
EventBundle
hasRemoteSource
in interface EventBundle
hasRemoteSource
in class ReconnectedEventBundleImpl
public boolean isEmpty()
EventBundle
isEmpty
in interface EventBundle
isEmpty
in class ReconnectedEventBundleImpl
public boolean comesFromJMS()
ReconnectedEventBundle
comesFromJMS
in interface ReconnectedEventBundle
comesFromJMS
in class ReconnectedEventBundleImpl
Copyright © 2018 Nuxeo. All rights reserved.