Package ome.services.messages
Class AbstractSessionMessage
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- ome.util.messages.InternalMessage
-
- ome.services.messages.AbstractSessionMessage
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CreateSessionMessage
,DestroySessionMessage
public abstract class AbstractSessionMessage extends ome.util.messages.InternalMessage
InternalMessage
implementations which carry relate to someSession
bound event. These messages are not thread-safe and so will be called within the sameThread
as the publisher. This meanslisteners
have a chance to throw an exception and cancel the related event.- See Also:
SessionManager
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractSessionMessage(java.lang.Object source, java.lang.String sessionId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getSessionId()
boolean
isThreadSafe()
-