com.ibm.wsspi.session

Interface ContextPropogation


Deprecated.
  1. @Deprecated
  2. public interface ContextPropogation
Context propogation contract for runtime. Used by session/other runtime to access and set session context.

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT
Deprecated. Copyright
  1. static
  2. ContextPropogation
INSTANCE
Deprecated. Comment for INSTANCE

Method Summary

Modifier and Type Method and Description
  1. java.io.Serializable
get(java.lang.String key)
Deprecated. Set one key from current WorkArea
  1. ActivityData
getSessionContext()
Deprecated. Get SessionContext from current WorkArea.
  1. commonj.sdo.DataObject
getSystemContext()
Deprecated. Get the session context from current work area.
  1. void
restoreSessionContextFromString(java.lang.String theContext)
Deprecated. Restore the session context from serilizaed string to the current work area.
  1. void
restoreSystemContext(java.io.Serializable theContext)
Deprecated. Restore the serialiable object.
  1. java.lang.String
saveSessionContextToString()
Deprecated. Save the session context in the current work area to serialized string.
  1. java.io.Serializable
saveSystemContext()
Deprecated. Save system context as serializable object.
  1. void
set(java.lang.String key,java.io.Serializable value)
Deprecated. Set one key value into current WorkArea
  1. void
setSessionContext(ActivityData theContext)
Deprecated. Set SessionContext to current WorkArea.
  1. void
setSystemContext(commonj.sdo.DataObject sessionContext)
Deprecated. Set the session context to current work area.

Field Detail

  1. static final java.lang.String COPYRIGHT
Deprecated.
Copyright
See Also:

INSTANCE

  1. static final ContextPropogation INSTANCE
Deprecated.
Comment for INSTANCE

Method Detail

getSessionContext

  1. ActivityData getSessionContext( )
Deprecated.
Get SessionContext from current WorkArea.
Returns:
ActivityData

setSessionContext

  1. void setSessionContext(ActivityData theContext)
  2. throws com.ibm.ws.session.WBIReservedKeyException
  3. com.ibm.ws.session.WBIActivityNotActiveException
Deprecated.
Set SessionContext to current WorkArea.
Parameters:
theContext -
Throws:
com.ibm.ws.session.WBIReservedKeyException
com.ibm.ws.session.WBIActivityNotActiveException

set

  1. void set(java.lang.String key,
  2. java.io.Serializable value)
  3. throws com.ibm.ws.session.WBIReservedKeyException
  4. com.ibm.ws.session.WBIActivityNotActiveException
Deprecated.
Set one key value into current WorkArea
Parameters:
key -
value -
Throws:
com.ibm.ws.session.WBIReservedKeyException
com.ibm.ws.session.WBIActivityNotActiveException

get

  1. java.io.Serializable get(java.lang.String key)
  2. throws com.ibm.ws.session.WBIActivityNotActiveException
Deprecated.
Set one key from current WorkArea
Parameters:
key -
Returns:
Serializable
Throws:
com.ibm.ws.session.WBIActivityNotActiveException

saveSessionContextToString

  1. java.lang.String saveSessionContextToString( )
Deprecated.
Save the session context in the current work area to serialized string. It is used by the non-SCA bindings when they transforms the SessionContext to the outbound message.
Returns:
the serialized string.

restoreSessionContextFromString

  1. void restoreSessionContextFromString( java.lang.String theContext)
Deprecated.
Restore the session context from serilizaed string to the current work area. It is used by the non-SCA bindings when they transforms the inbound message to the SessionContext.

setSystemContext

  1. void setSystemContext(commonj.sdo.DataObject sessionContext)
Deprecated.
Set the session context to current work area. It is used by the web service binding.

getSystemContext

  1. commonj.sdo.DataObject getSystemContext( )
Deprecated.
Get the session context from current work area. It is used by the web service binding.
Returns:
DataObject: SessionContext instance. null: no session context existing in current work area.

saveSystemContext

  1. java.io.Serializable saveSystemContext( )
Deprecated.
Save system context as serializable object. It is used by JMS binding to gain a better performance when they save SessionContext for the async response.
Returns:
the serializable object

restoreSystemContext

  1. void restoreSystemContext(java.io.Serializable theContext)
Deprecated.
Restore the serialiable object. It is used by JMS binding to gain a better performance when they restore SessionContext to the async response
Parameters:
theContext - the serializable object