|
||||||||||
| 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,
QName portName,
QName serviceName)
The class is constructed with the information needed to identify a port. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Object.equals is overridden here so that PortInfo objects can be compared when using them as keys in the map in HandlerResolverImpl. |
String |
getBindingID()
|
QName |
getPortName()
|
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,
QName portName,
QName serviceName)
bindingId - The binding ID string.portName - The QName of the port.serviceName - The QName of the service.| Method Detail |
|---|
public String getBindingID()
getBindingID in interface PortInfopublic QName getPortName()
getPortName in interface PortInfopublic QName getServiceName()
getServiceName in interface PortInfopublic boolean equals(Object obj)
equals in class Objectobj - The PortInfo object to test for equality.
public int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||