public interface INInterceptorExtensionsProvider extends InterceptorExtensionsProvider
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 to InterceptorExtensionsProvider
if the dialog is a
virtual dialog managed by the SIS on behalf of a composition. An instanceof
check
could be used to determine if such a cast is possible.
InterceptorExtensionsProvider.Metadata
Modifier and Type | Method and 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.
|
createInterceptorInvocationActivity, invokeInterceptor, invokeInterceptor, invokeInterceptor, invokeInterceptor
INInterceptorActivity getInterceptorActivity(Dialog dialog) throws UnrecognizedActivityException
dialog
- the dialog activity.UnrecognizedActivityException
- if the dialog is unknown or not being
managed by the SIS for a composition.InterceptorContext getInterceptorContext(Dialog dialog) throws UnrecognizedActivityException
getInterceptorActivity(Dialog)
. Note that as for
the getInterceptorActivity
method, multiple unique dialogs in the SLEE share the same
underlying interceptor context if the dialogs are related by virtue of a SIS composition.dialog
- the dialog activity.UnrecognizedActivityException
- if the dialog is unknown or not being
managed by the SIS for a composition.