public interface ContextSPI
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
void | clear()
This method resets this context's instance variables to their uninitialized values.
|
java.lang.String | getContextSerializedString()
This method returns the string representation of this context.
|
void | initialize(ActivityToken token, ActivityData initData)
This method initializes this context with the given initialization data.
|
void | initialize(ActivityToken oldToken, ActivityToken token, ActivityData initData)
This method initializes this context based on a given existing activity's context and updates it based on given initialization data.
|
boolean | isDirty()
This method checks whether this context is dirty.
|
void | postInvoke()
This method is called by the endRequest() method of the business context service after request execution for any necessary cleanup.
|
void | preInvoke(ActivityData sessionData)
This method updates this context based on the given session data.
|
void | recalibrate()
Reserved for IBM internal use.
|
void | reset()
This method is called by the rollbackRequest() method of the business context service when a request is rolled back.
|
void | setContextSerializedString(ActivityToken token, java.lang.String serValue)
This method populates this context from a given string representation.
|
static final java.lang.String COPYRIGHT
void initialize(ActivityToken token, ActivityData initData) throws BusinessContextException
void preInvoke(ActivityData sessionData) throws BusinessContextException
void postInvoke() throws BusinessContextException
void reset() throws BusinessContextException
void initialize(ActivityToken oldToken, ActivityToken token, ActivityData initData) throws BusinessContextException
java.lang.String getContextSerializedString() throws BusinessContextException
void setContextSerializedString(ActivityToken token, java.lang.String serValue) throws BusinessContextException
boolean isDirty()
void recalibrate() throws BusinessContextException
void clear()