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 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.

    • Method Detail

      • getInterceptorActivity

        INInterceptorActivity getInterceptorActivity​(com.opencloud.slee.resources.cgin.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​(com.opencloud.slee.resources.cgin.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 of 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.
        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