|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface ContextService
The ContextService interface represents the programming model for the context service in BPM. The BPM context service provides the ability to access and modify the execution context, and propagate the execution context to the downstream.
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 | |
---|---|
static java.lang.String |
COPYRIGHT
Deprecated. Copyright |
static ContextService |
INSTANCE
Deprecated. The singleton to access ContextService. |
Method Summary | |
---|---|
com.ibm.websphere.sibx.smobo.ContextType |
getContext()
Deprecated. Get the user context data from the current execution context. |
com.ibm.websphere.sibx.smobo.HeadersType |
getHeaders()
Deprecated. Get the protocol headers in the current execution context The protocol headers type is represented by HeadersType . |
void |
restoreUserContext(java.io.Serializable userContext)
Deprecated. Restore the UserContext to the current work area from a serializable object. |
void |
restoreUserContextFromString(java.lang.String value)
Deprecated. Restore the UserContext to the current work area from a serailzed string. |
java.io.Serializable |
saveUserContext()
Deprecated. Save the UserContext to a serializable object. |
java.lang.String |
saveUserContextToString()
Deprecated. Save the UserContext in the current work area to a serialized string . |
void |
setContext(com.ibm.websphere.sibx.smobo.ContextType context)
Deprecated. Set user context data to the current execution context. |
void |
setHeaders(com.ibm.websphere.sibx.smobo.HeadersType headers)
Deprecated. Set the protocol headers to the current execution context. |
Field Detail |
---|
static final java.lang.String COPYRIGHT
static final ContextService INSTANCE
Method Detail |
---|
java.lang.String saveUserContextToString()
void restoreUserContextFromString(java.lang.String value)
value
- java.io.Serializable saveUserContext()
void restoreUserContext(java.io.Serializable userContext)
userContext
- com.ibm.websphere.sibx.smobo.HeadersType getHeaders()
The protocol headers type is represented by
HeadersType
.
HeadersType
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
com.ibm.websphere.sibx.smobo.ContextType getContext()
The user context type is presented by
ContextType
ContextType
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.
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |