/* * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.xml.ws.handler; /** * 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 javax.xml.ws.Service#setHandlerResolver * * @since JAX-WS 2.0 **/ public interface HandlerResolver { /** * Gets the handler chain for the specified port. * * @param portInfo Contains information about the port being accessed. * @return java.util.List<Handler> chain **/ public java.util.List getHandlerChain(PortInfo portInfo); }