jakarta.xml.ws.handler.HandlerResolver Maven / Gradle / Ivy
/*
* Copyright (c) 2005, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
package jakarta.xml.ws.handler;
import java.util.List;
/**
* {@code 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 {@code HandlerResolver} may be set on a {@code Service}
* using the {@code setHandlerResolver} method.
*
* When the runtime invokes a {@code HandlerResolver}, it will
* pass it a {@code PortInfo} object containing information
* about the port that the proxy/dispatch object will be accessing.
*
* @see jakarta.xml.ws.Service#setHandlerResolver
*
* @since 1.6, 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 {@code java.util.List} chain
**/
List getHandlerChain(PortInfo portInfo);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy