|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.wsgw.config.TargetServiceLocation
This class contains the key information for a specific target service.
The key contains the target service location, namespace and name, and uniquely defines a target service.
Field Summary | |
static java.lang.String |
copyright
Copyright string. |
java.lang.String |
serviceLocation
The service location. |
int |
serviceLocationType
The service location type. |
java.lang.String |
serviceName
The service name. |
java.lang.String |
serviceNamespace
The service namespace. |
static int |
UDDI_LOCATION
This value indicates that the location of a WSDL definition is a UDDI directory. |
static int |
URL_LOCATION
This value indicates that the location of a WSDL definition is a URL. |
Constructor Summary | |
TargetServiceLocation(java.lang.String serviceLocation,
int serviceLocationType,
java.lang.String serviceNamespace,
java.lang.String serviceName)
Constructor. |
Method Summary | |
boolean |
equals(java.lang.Object other)
Checks equality. |
int |
hashCode()
Returns the hashcode for the object. |
java.lang.String |
toString()
Returns the string representation of the object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String copyright
public static final int URL_LOCATION
In this case, the location is simply a URL.
public static final int UDDI_LOCATION
In this case, the location is of the form:
public java.lang.String serviceLocation
public int serviceLocationType
public java.lang.String serviceNamespace
public java.lang.String serviceName
Constructor Detail |
public TargetServiceLocation(java.lang.String serviceLocation, int serviceLocationType, java.lang.String serviceNamespace, java.lang.String serviceName)
serviceLocation
- The service location.serviceLocationType
- The service location type.serviceNamespace
- The service namespace.serviceName
- The service name.Method Detail |
public final boolean equals(java.lang.Object other)
We consider two keys to be equal if the location, namespace and name are the same.
equals
in class java.lang.Object
other
- The other object to be compared.public final int hashCode()
Given equality by name, we have to define the hashcode based on the name.
hashCode
in class java.lang.Object
- public final java.lang.String toString()
toString
in class java.lang.Object
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |