PortInfoImplpublic class PortInfoImpl extends Object implements PortInfoImplementation of the PortInfo interface. This is just a simple
class used to hold the info necessary to uniquely identify a port,
including the port name, service name, and binding ID. This class
is only used on the client side. |
Fields Summary |
---|
private com.sun.xml.ws.api.BindingID | bindingId | private QName | portName | private QName | serviceName |
Constructors Summary |
---|
public PortInfoImpl(com.sun.xml.ws.api.BindingID bindingId, QName portName, QName serviceName)
this.bindingId = bindingId;
this.portName = portName;
this.serviceName = serviceName;
|
Methods Summary |
---|
public boolean | equals(java.lang.Object obj)
if (obj instanceof PortInfo) {
PortInfo info = (PortInfo) obj;
if (bindingId.toString().equals(info.getBindingID().toString()) &&
portName.equals(info.getPortName()) &&
serviceName.equals(info.getServiceName())) {
return true;
}
}
return false;
| public java.lang.String | getBindingID()
return bindingId.toString();
| public javax.xml.namespace.QName | getPortName()
return portName;
| public javax.xml.namespace.QName | getServiceName()
return serviceName;
| public int | hashCode()Needed by JAXWS so PortInfoImpl can be used as a key in a map..
return bindingId.toString().hashCode();
|
|