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 FormthreadSafesource| Constructor and Description |
|---|
AbstractSessionMessage(Object source,
String sessionId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getSessionId() |
boolean |
isThreadSafe()
Returns true if this message can safely be passed to another
Thread. |
getSource, toStringpublic String getSessionId()
public final boolean isThreadSafe()
InternalMessageThread. The default ApplicationEventMulticaster executes
in the same Thread.isThreadSafe in class InternalMessage
Version: 5.1.1-ice35-b43
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.