com.sun.xml.ws.api.client.WSPortInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jaxws-rt Show documentation
Show all versions of jaxws-rt Show documentation
JAX-WS Runtime with module descriptor
/*
* Copyright (c) 1997, 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 com.sun.xml.ws.api.client;
import com.sun.istack.NotNull;
import com.sun.istack.Nullable;
import com.sun.xml.ws.api.BindingID;
import com.sun.xml.ws.api.EndpointAddress;
import com.sun.xml.ws.api.WSService;
import com.sun.xml.ws.api.model.wsdl.WSDLPort;
import com.sun.xml.ws.policy.PolicyMap;
import jakarta.xml.ws.handler.PortInfo;
/**
* JAX-WS RI's extension to {@link PortInfo}.
*
* @author Kohsuke Kawaguchi
*/
public interface WSPortInfo extends PortInfo {
/**
* Returns {@link WSService} object that owns this port.
*/
@NotNull WSService getOwner();
/**
* Returns the same information as {@link #getBindingID()}
* but in a strongly-typed fashion
*/
@NotNull BindingID getBindingId();
/**
* Gets the endpoint address of this port.
*/
@NotNull EndpointAddress getEndpointAddress();
/**
* Gets the {@link WSDLPort} object that represents this port,
* if {@link WSService} is configured with WSDL. Otherwise null.
*/
@Nullable WSDLPort getPort();
/**
* Gives the PolicMap that captures the Policy for the PortInfo
*
* @return PolicyMap
*
* @deprecated
* Do not use this method as the PolicyMap API is not final yet and might change in next few months.
*/
public PolicyMap getPolicyMap();
}