Interface INInterceptorExtensionsProvider
-
- All Superinterfaces:
InterceptorExtensionsProvider
public interface INInterceptorExtensionsProvider extends InterceptorExtensionsProvider
Resource adaptor interface for SIS-IN Interceptor Extensions.An instance of this interface may be bound into an SBB's JNDI environment using a resource adaptor entity binding.
Alternatively, the provider object returned by
Dialog.getProvider()
for any IN dialog may be cast toInterceptorExtensionsProvider
if the dialog is a virtual dialog managed by the SIS on behalf of a composition. Aninstanceof
check could be used to determine if such a cast is possible.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.opencloud.slee.resources.sis.script.interceptors.InterceptorExtensionsProvider
InterceptorExtensionsProvider.Metadata
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description INInterceptorActivity
getInterceptorActivity(Dialog dialog)
Get the Interceptor Activity for the specified CGIN dialog activity.InterceptorContext
getInterceptorContext(Dialog dialog)
Get the Interceptor Context for the specific CGIN dialog activity.-
Methods inherited from interface com.opencloud.slee.resources.sis.script.interceptors.InterceptorExtensionsProvider
createInterceptorInvocationActivity, invokeInterceptor, invokeInterceptor, invokeInterceptor, invokeInterceptor
-
-
-
-
Method Detail
-
getInterceptorActivity
INInterceptorActivity getInterceptorActivity(Dialog dialog) throws UnrecognizedActivityException
Get the Interceptor Activity for the specified CGIN dialog activity. Multiple unique dialogs in the SLEE may share the same underlying Composition Activity if the dialogs are related by virtue of a SIS composition.- Parameters:
dialog
- the dialog activity.- Returns:
- the Interceptor Activity.
- Throws:
UnrecognizedActivityException
- if the dialog is unknown or not being managed by the SIS for a composition.
-
getInterceptorContext
InterceptorContext getInterceptorContext(Dialog dialog) throws UnrecognizedActivityException
Get the Interceptor Context for the specific CGIN dialog activity. The Interceptor Context allows variables, such as user variables, to be manipulated within the context used by interceptors without having to unnecessarily create a new SLEE activity, a potential side-effect ofgetInterceptorActivity(Dialog)
. Note that as for thegetInterceptorActivity
method, multiple unique dialogs in the SLEE share the same underlying interceptor context if the dialogs are related by virtue of a SIS composition.- Parameters:
dialog
- the dialog activity.- Returns:
- the Interceptor Context.
- Throws:
UnrecognizedActivityException
- if the dialog is unknown or not being managed by the SIS for a composition.- Since:
- SIS 2.5.0
-
-