Interface INCompositionActivityExtensionsProvider

  • All Superinterfaces:
    CompositionActivityExtensionsProvider

    public interface INCompositionActivityExtensionsProvider
    extends CompositionActivityExtensionsProvider
    Resource adaptor interface for IN Composition Activity 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 CompositionActivityProvider 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

      • getCompositionActivity

        CompositionActivity getCompositionActivity​(Dialog dialog)
                                            throws UnrecognizedActivityException
        Get the Composition Activity for the specified CGIN dialog activity. Multiple unique dialogs may share the same underlying Composition Activity if the dialogs are related by virtue of a SIS composition.
        Parameters:
        dialog - the dialog activity.
        Throws:
        UnrecognizedActivityException - if the dialog is unknown or not being managed by the SIS for a composition.