com.ibm.wsspi.session
Interface ContextService
Deprecated.
- @Deprecated public interface ContextService
This interface is used by all WPS internal components. It includes not only all
methods in the ContextService
API,
but also the methods which are available for the internal components.
com.ibm.bpm.context.ContextService
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
Deprecated. Copyright
|
|
INSTANCE
Deprecated. The singleton to access ContextService.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getContext()
Deprecated. Get the user context data from the current execution context.
|
|
getHeaders()
Deprecated. Get the protocol headers in the current execution context
The protocol headers type is represented by
HeadersType .
|
|
restoreUserContext(java.io.Serializable userContext)
Deprecated. Restore the UserContext to the current work area from a serializable object.
|
|
restoreUserContextFromString(java.lang.String value)
Deprecated. Restore the UserContext to the current work area from a serailzed string.
|
|
saveUserContext()
Deprecated. Save the UserContext to a serializable object.
|
|
saveUserContextToString()
Deprecated. Save the UserContext in the current work area to a serialized string .
|
|
setContext(com.ibm.websphere.sibx.smobo.ContextType context)
Deprecated. Set user context data to the current execution context.
|
|
setHeaders(com.ibm.websphere.sibx.smobo.HeadersType headers)
Deprecated. Set the protocol headers to the current execution context.
|
Field Detail
COPYRIGHT
- static final java.lang.String COPYRIGHT
INSTANCE
- static final ContextService INSTANCE
Method Detail
saveUserContextToString
- java.lang.String saveUserContextToString( )
restoreUserContextFromString
- void restoreUserContextFromString( java.lang.String value)
value
- saveUserContext
- java.io.Serializable saveUserContext( )
restoreUserContext
- void restoreUserContext(java.io.Serializable userContext)
userContext
- getHeaders
- com.ibm.websphere.sibx.smobo.HeadersType getHeaders( )
The protocol headers type is represented by
HeadersType
.
HeadersType
setHeaders
- void setHeaders(com.ibm.websphere.sibx.smobo.HeadersType headers)
If the input headers value is null, the protocol headers in current execution context will be removed.
The context service does not guarantee to propagate the context data if it is not set to current execution context.
headers
- the protocol headers. HeadersType
getContext
- com.ibm.websphere.sibx.smobo.ContextType getContext( )
The user context type is presented by
ContextType
ContextType
setContext
- void setContext(com.ibm.websphere.sibx.smobo.ContextType context)
If the input context value is null, the user context data in the current context will be removed.
The context service does not guarantee to propagate the context data if it is not set to current execution context.
context
- the user context data.