public class ReconnectedJMSEventBundle extends ReconnectedEventBundleImpl
EventBundle
that needs to be reconnected
to a usable Session.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.
|
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, iterator, peek, push, size
public ReconnectedJMSEventBundle(SerializableEventBundle jmsEventBundle)
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 © 2013 Nuxeo SA. All Rights Reserved.