Class InvocationTarget.InvocationHandling

  • Enclosing interface:
    InvocationTarget

    public static class InvocationTarget.InvocationHandling
    extends Object
    A class encapsulating all objects required for invocation handling of global URIs and therefore late binding of connections.
    • Field Detail

      • invDel

        protected final InvocationDelegate invDel
        The invocation delegate processes a remote call through a specific communication stack/service.
      • callbackExport

        protected final ADEPT2CallbackExport callbackExport
        The callback export of a specific communication service for replacing callback objects by an appropriate URI.
      • localUri

        protected final URI localUri
        The local (physical) URI specific to a communication service.
      • registeredUri

        protected final URI registeredUri
        The original (logical) URI identifying the remote service to call, in case a URI mapping was applied on the localUri.
      • gir

        protected GlobalInvocationResolver gir
        The resolver for global URIs or null if the invocation is not based on a global URI.
    • Constructor Detail

      • InvocationHandling

        public InvocationHandling​(InvocationDelegate invDel,
                                  ADEPT2CallbackExport callbackExport,
                                  URI localUri,
                                  URI registeredUri)
        Creates a new instance encapsulating the designated objects for invocation handling of global URIs.
        Parameters:
        invDel - The invocation delegate processes a remote call through a specific communication stack/service.
        callbackExport - The callback export of a specific communication service for replacing callback objects by an appropriate URI.
        localUri - The local (physical) URI specific to a communication service.
        registeredUri - The original (logical) URI identifying the remote service to call, in case a URI mapping was applied on the localUri.
    • Method Detail

      • getInvocationDelegate

        public InvocationDelegate getInvocationDelegate()
        Gets the invocation delegate processes a remote call through a specific communication stack/service.
        Returns:
        The invocation delegate processes a remote call through a specific communication stack/service.
      • getAdept2CallbackExport

        public ADEPT2CallbackExport getAdept2CallbackExport()
        Gets the callback export of a specific communication service for replacing callback objects by an appropriate URI.
        Returns:
        The callback export of a specific communication service for replacing callback objects by an appropriate URI.
      • getLocalUri

        public URI getLocalUri()
        Gets the local (physical) URI specific to a communication service.
        Returns:
        The local (physical) URI specific to a communication service.
      • getGlobalInvocationResolver

        public GlobalInvocationResolver getGlobalInvocationResolver()
        Gets the resolver for global URIs or null if the invocation is not based on a global URI.
        Returns:
        The resolver for global URIs or null if the invocation is not based on a global URI.
      • setGlobalInvocationResolver

        public void setGlobalInvocationResolver​(GlobalInvocationResolver gir)
        Sets the resolver for global URIs.
        Parameters:
        gir - The resolver for global URIs.
      • getRegisteredUri

        public URI getRegisteredUri()
        Gets the original (logical) URI identifying the remote service to call, in case a URI mapping was applied on the original URI.
        Returns:
        The original (logical) URI identifying the remote service to call, in case a URI mapping was applied on the original URI.