PortInfo (Java EE 5)

Java EE API


javax.xml.ws.handler Interface PortInfo


public interface PortInfo


HandlerResolver 使用 PortInfo 接口查询有关要用来创建处理程序链的端口的信息。

此接口不能由应用程序实现,只能由 JAX-WS 实现实现。

英文文档:

The PortInfo interface is used by a 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 JAX-WS implementation.

Since:
JAX-WS 2.0

Method Summary
 String
 QName
 QName
 

Method Detail

public javax.xml.namespace.QName getServiceName()
获取包含正被访问端口的 WSDL 服务名称的限定名。
return javax.xml.namespace.QName WSDL 服务的限定名。
英文文档:

getServiceName

QName getServiceName()
Gets the qualified name of the WSDL service name containing the port being accessed.

Returns:
javax.xml.namespace.QName The qualified name of the WSDL service.

public javax.xml.namespace.QName getPortName()
获取正被访问的 WSDL 端口的限定名。
return javax.xml.namespace.QName WSDL 端口的限定名。
英文文档:

getPortName

QName getPortName()
Gets the qualified name of the WSDL port being accessed.

Returns:
javax.xml.namespace.QName The qualified name of the WSDL port.

public String getBindingID()
获取标识正由被访问的端口所用绑定的 URI。
return String 端口的绑定标识符。
See also javax.xml.ws.Binding
英文文档:

getBindingID

String getBindingID()
Gets the URI identifying the binding used by the port being accessed.

Returns:
String The binding identifier for the port.
See Also:
Binding


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!