public class PortInfoImpl extends Object implements 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.
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 and Description |
---|
PortInfoImpl(BindingID bindingId,
QName portName,
QName serviceName)
The class is constructed with the information needed to identify
a port.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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.public String getBindingID()
getBindingID
in interface PortInfo
public QName getPortName()
getPortName
in interface PortInfo
public QName getServiceName()
getServiceName
in interface PortInfo
public boolean equals(Object obj)
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.