|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.handler.PortInfoImpl
public class PortInfoImpl
Implementation 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.
An instance is created by
WSServiceDelegate when used to
place a handler chain into the HandlerResolver map. Another is
created later by
WSServiceDelegate to retrieve the
necessary handler chain to set on a binding instance.
WSServiceDelegate,
com.sun.xml.ws.client.HandlerResolverImpl| Constructor Summary | |
|---|---|
PortInfoImpl(BindingID bindingId,
javax.xml.namespace.QName portName,
javax.xml.namespace.QName serviceName)
The class is constructed with the information needed to identify a port. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Object.equals is overridden here so that PortInfo objects can be compared when using them as keys in the map in HandlerResolverImpl. |
java.lang.String |
getBindingID()
|
javax.xml.namespace.QName |
getPortName()
|
javax.xml.namespace.QName |
getServiceName()
|
int |
hashCode()
Needed so PortInfoImpl can be used as a key in a map. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PortInfoImpl(BindingID bindingId,
javax.xml.namespace.QName portName,
javax.xml.namespace.QName serviceName)
bindingId - The binding ID string.portName - The QName of the port.serviceName - The QName of the service.| Method Detail |
|---|
public java.lang.String getBindingID()
getBindingID in interface javax.xml.ws.handler.PortInfopublic javax.xml.namespace.QName getPortName()
getPortName in interface javax.xml.ws.handler.PortInfopublic javax.xml.namespace.QName getServiceName()
getServiceName in interface javax.xml.ws.handler.PortInfopublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - The PortInfo object to test for equality.
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||