public abstract class AbstractSessionMessage extends InternalMessage
InternalMessage implementations which carry relate to some
Session bound event.
These messages are not thread-safe
and so will be called within the same Thread as the publisher. This
means listeners have a chance to throw an
exception and cancel the related event.SessionManager,
Serialized FormthreadSafe| Constructor and Description |
|---|
AbstractSessionMessage(java.lang.Object source,
java.lang.String sessionId) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getSessionId() |
boolean |
isThreadSafe()
Returns true if this message can safely be passed to another
Thread. |
public AbstractSessionMessage(java.lang.Object source,
java.lang.String sessionId)
public java.lang.String getSessionId()
public final boolean isThreadSafe()
InternalMessageThread. The default ApplicationEventMulticaster executes
in the same Thread.isThreadSafe in class InternalMessage
Version: 5.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.