Interface HandlerResolver


  • public interface HandlerResolver
    HandlerResolver is an interface implemented by an application to get control over the handler chain set on proxy/dispatch objects at the time of their creation.

    A HandlerResolver may be set on a Service using the setHandlerResolver method.

    When the runtime invokes a HandlerResolver, it will pass it a PortInfo object containing information about the port that the proxy/dispatch object will be accessing.

    See Also:
    Service.setHandlerResolver(jakarta.xml.ws.handler.HandlerResolver)
    • Method Detail

      • getHandlerChain

        List<Handler> getHandlerChain​(PortInfo portInfo)
        Gets the handler chain for the specified port.
        Parameters:
        portInfo - Contains information about the port being accessed.
        Returns:
        java.util.List<Handler> chain