Interface DOMRpcProviderService

  • All Superinterfaces:
    DOMService, DOMService
    All Known Implementing Classes:
    AbstractDOMRpcProviderService, DOMRpcRouter, ForwardingDOMRpcProviderService

    @Deprecated(forRemoval=true)
    public interface DOMRpcProviderService
    extends DOMService
    Deprecated, for removal: This API element is subject to removal in a future version.
    A DOMService which allows registration of RPC implementations with a conceptual router. The client counterpart of this service is DOMRpcService.

    This interface supports both RFC6020 RPCs and RFC7950 actions (formerly known as 'Routed RPCs'. Invocation for RFC6020 RPCs is always based on an empty context reference. Invocation of actions requires a non-empty context reference and is matched against registered implementations as follows:

    • First, attempt to look up the implementation based on exact match. If a match is found the invocation is on that implementation, returning its result.
    • Second, attempt to look up the implementation which registered for empty context reference. If a such an implementation exists, invoke that implementation, returning its result
    • Throw DOMRpcImplementationNotAvailableException

    All implementations are required to perform these steps as specified above.