jakarta.xml.ws.handler.PortInfo Maven / Gradle / Ivy
/*
* Copyright (c) 2005, 2020 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 javax.xml.namespace.QName;
/**
* The {@code PortInfo} interface is used by a
* {@code HandlerResolver} to query information about
* the port it is being asked to create a handler chain for.
*
* This interface is never implemented by an application,
* only by a Jakarta XML Web Services implementation.
*
* @since 1.6, JAX-WS 2.0
**/
public interface PortInfo {
/**
* Gets the qualified name of the WSDL service name containing
* the port being accessed.
*
* @return javax.xml.namespace.QName The qualified name of the WSDL service.
**/
public QName getServiceName();
/**
* Gets the qualified name of the WSDL port being accessed.
*
* @return javax.xml.namespace.QName The qualified name of the WSDL port.
**/
public QName getPortName();
/**
* Gets the URI identifying the binding used by the port being accessed.
*
* @return String The binding identifier for the port.
*
* @see jakarta.xml.ws.Binding
**/
public String getBindingID();
}