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, sourceEventBundleSKIP_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, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprotected final SerializableEventBundle jmsEventBundle
public ReconnectedJMSEventBundle(SerializableEventBundle jmsEventBundle)
protected List<Event> getReconnectedEvents()
getReconnectedEvents in class ReconnectedEventBundleImplpublic String getName()
EventBundleThis is usually the first event repository name in the bundle but the implementation may decide to change this behavior.
getName in interface EventBundlegetName in class ReconnectedEventBundleImplpublic VMID getSourceVMID()
EventBundlegetSourceVMID in interface EventBundlegetSourceVMID in class ReconnectedEventBundleImplpublic boolean hasRemoteSource()
EventBundlehasRemoteSource in interface EventBundlehasRemoteSource in class ReconnectedEventBundleImplpublic boolean isEmpty()
EventBundleisEmpty in interface EventBundleisEmpty in class ReconnectedEventBundleImplpublic boolean comesFromJMS()
ReconnectedEventBundlecomesFromJMS in interface ReconnectedEventBundlecomesFromJMS in class ReconnectedEventBundleImplCopyright © 2016 Nuxeo SA. All rights reserved.