org.glassfish.webservices
Class PortInfoImpl

java.lang.Object
  extended by org.glassfish.webservices.PortInfoImpl
All Implemented Interfaces:
javax.xml.ws.handler.PortInfo

public class PortInfoImpl
extends java.lang.Object
implements javax.xml.ws.handler.PortInfo

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.


Constructor Summary
PortInfoImpl(com.sun.xml.ws.api.BindingID bindingId, javax.xml.namespace.QName portName, javax.xml.namespace.QName serviceName)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getBindingID()
           
 javax.xml.namespace.QName getPortName()
           
 javax.xml.namespace.QName getServiceName()
           
 int hashCode()
          Needed by JAXWS 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

PortInfoImpl

public PortInfoImpl(com.sun.xml.ws.api.BindingID bindingId,
                    javax.xml.namespace.QName portName,
                    javax.xml.namespace.QName serviceName)
Method Detail

getBindingID

public java.lang.String getBindingID()
Specified by:
getBindingID in interface javax.xml.ws.handler.PortInfo

getPortName

public javax.xml.namespace.QName getPortName()
Specified by:
getPortName in interface javax.xml.ws.handler.PortInfo

getServiceName

public javax.xml.namespace.QName getServiceName()
Specified by:
getServiceName in interface javax.xml.ws.handler.PortInfo

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Needed by JAXWS so PortInfoImpl can be used as a key in a map..

Overrides:
hashCode in class java.lang.Object


Copyright © 2012 GlassFish Community. All Rights Reserved.