@Deprecated
public interface ContextPropogation
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Deprecated.
Copyright
|
static ContextPropogation |
INSTANCE
Deprecated.
Comment for
INSTANCE |
Modifier and Type | Method and Description |
---|---|
java.io.Serializable |
get(java.lang.String key)
Deprecated.
Set one key from current WorkArea
|
ActivityData |
getSessionContext()
Deprecated.
Get SessionContext from current WorkArea.
|
commonj.sdo.DataObject |
getSystemContext()
Deprecated.
Get the session context from current work area.
|
void |
restoreSessionContextFromString(java.lang.String theContext)
Deprecated.
Restore the session context from serilizaed string to the current work area.
|
void |
restoreSystemContext(java.io.Serializable theContext)
Deprecated.
Restore the serialiable object.
|
java.lang.String |
saveSessionContextToString()
Deprecated.
Save the session context in the current work area to serialized string.
|
java.io.Serializable |
saveSystemContext()
Deprecated.
Save system context as serializable object.
|
void |
set(java.lang.String key,
java.io.Serializable value)
Deprecated.
Set one key value into current WorkArea
|
void |
setSessionContext(ActivityData theContext)
Deprecated.
Set SessionContext to current WorkArea.
|
void |
setSystemContext(commonj.sdo.DataObject sessionContext)
Deprecated.
Set the session context to current work area.
|
static final java.lang.String COPYRIGHT
static final ContextPropogation INSTANCE
INSTANCE
ActivityData getSessionContext()
void setSessionContext(ActivityData theContext) throws com.ibm.ws.session.WBIReservedKeyException, com.ibm.ws.session.WBIActivityNotActiveException
theContext
- com.ibm.ws.session.WBIReservedKeyException
com.ibm.ws.session.WBIActivityNotActiveException
void set(java.lang.String key, java.io.Serializable value) throws com.ibm.ws.session.WBIReservedKeyException, com.ibm.ws.session.WBIActivityNotActiveException
key
- value
- com.ibm.ws.session.WBIReservedKeyException
com.ibm.ws.session.WBIActivityNotActiveException
java.io.Serializable get(java.lang.String key) throws com.ibm.ws.session.WBIActivityNotActiveException
key
- com.ibm.ws.session.WBIActivityNotActiveException
java.lang.String saveSessionContextToString()
void restoreSessionContextFromString(java.lang.String theContext)
the
- serialized string.void setSystemContext(commonj.sdo.DataObject sessionContext)
sessionContext:
- DataObject.commonj.sdo.DataObject getSystemContext()
java.io.Serializable saveSystemContext()
void restoreSystemContext(java.io.Serializable theContext)
theContext
- the serializable object