Interface InterceptorContext
-
public interface InterceptorContext
An Interceptor Context is a view over the context that SIS interceptors run for a particular network dialog. It allows, for example, user variables to be created in the context so that interceptors that run later can use the values stored, or the retrieval of values previously stored in the context by an interceptor. An Interceptor Context object can be obtained and accessed without requiring an SBB create an Interceptor Activity in the SLEE to access context state.An Interceptor Context object is not serialisable and should not be stored in transient fields of an SBB object beyond a single event handler transaction boundary. Rather, a new Interceptor Context object should be retrieved at least once per transaction when required and discarded when no longer needed.
- Since:
- SIS 2.5.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScriptVariable
getVariable(String name)
Get a script variable.
-
-
-
Method Detail
-
getVariable
ScriptVariable getVariable(String name) throws NullPointerException, IllegalArgumentException
Get a script variable.- Parameters:
name
- the name of the variable.- Returns:
- a descriptor for the variable.
- Throws:
NullPointerException
- ifname
isnull
.IllegalArgumentException
- if the variable name is invalid or unknown. This exception is not thrown if the name identifies a user-defined variable, since any user-defined variable name is valid.
-
-