public interface Context
extends java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
void |
copyContext(Context ctx)
This method copies the content of a given context to this context.
|
ActivityToken |
getActivityToken()
This method gets the token that represents this context's activity.
|
java.lang.String |
getContextName()
This method gets the name of this context.
|
boolean |
validate()
This method checks whether this context's attributes are valid.
|
static final java.lang.String COPYRIGHT
ActivityToken getActivityToken()
java.lang.String getContextName()
boolean validate() throws BusinessContextException
true
if all the attributes are validBusinessContextException
- if any one of the attributes is not validvoid copyContext(Context ctx)
ctx
- the context to copy from