com.jmrosengard.xmlbroker.broker
Class PortKey
java.lang.Object
|
+--com.jmrosengard.xmlbroker.broker.PortKey
- public class PortKey
- extends java.lang.Object
PortKey is a utility class that computes and
encapsulates a port key. Each port (e.g. service) is identified
by a URI like http://www.jmrosengard.com/xmlbroker#demo1
as of the SOAP specifications. A custom-hash key is provided
to avoid hash collision--given that the domain part of
the URI is constant. The object is immutable.
Field Summary |
private java.lang.String |
keyVal
|
Constructor Summary |
PortKey(java.lang.String uri)
|
Methods inherited from class java.lang.Object |
, clone, finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait |
keyVal
private java.lang.String keyVal
PortKey
public PortKey(java.lang.String uri)
throws SoapReqException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object