|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SessionContext
A container for the information associated with a particular Session
.
Such information may be required during the servicing of a task from
a Session
.
ServiceContainer.onSessionEnter(com.platform.symphony.soam.SessionContext)
Method Summary | |
---|---|
void |
discardCommonData()
Frees the middleware's local copy of the common data. |
java.lang.Object |
getCommonData()
Retrieves the Serializable that was passed in when the
Session was created. |
java.lang.String |
getSessionId()
Returns the identifier for the associated Session , as provided by Symphony. |
boolean |
isUpdated(int updateType)
Indicates whether the specified attribute was updated. |
void |
populateCommonData(Message commonData)
Populates commonData with the data contained in the
Message that was passed in when the Session
was created. |
Method Detail |
---|
java.lang.String getSessionId() throws SoamException
Session
, as provided by Symphony.
Session
SoamException
void populateCommonData(Message commonData) throws SoamException
commonData
with the data contained in the
Message
that was passed in when the Session
was created.
com.platform.symphony.soam.Message
using Symphony Serialization, you must use this method to retrieve it.
java.io.Serializable
using Native
Serialization, use the getCommonData
method instead.
commonData
- The message to populate.
SoamException
Connection.createSession(SessionCreationAttributes)
,
SessionCreationAttributes.setCommonData(Message)
java.lang.Object getCommonData() throws SoamException
Serializable
that was passed in when the
Session
was created.
java.io.Serializable
using Native Serialization, you must use this method to retrieve it.
com.platform.symphony.soam.Message
using
Symphony Serialization, use the populateCommonData
method instead.
SoamException
Connection.createSession(SessionCreationAttributes)
,
SessionCreationAttributes.setCommonData(Serializable)
void discardCommonData() throws SoamException
SoamException
boolean isUpdated(int updateType) throws SoamException
updateType
- The update attribute.
SoamException
ServiceContainer.onSessionUpdate(com.platform.symphony.soam.SessionContext)
|
Version 5.0 Date Modified: -DREL_DATE=Nov 11 2009 Platform Computing. Accelerating Intelligence(TM). Copyright (C) 2001-2009 Platform Computing Corporation. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |