org.systinet.wasp.admin
Class ServiceEndpoint

java.lang.Object
  extended byorg.systinet.wasp.admin.ServiceEndpoint
All Implemented Interfaces:
java.io.Serializable

public class ServiceEndpoint
extends java.lang.Object
implements java.io.Serializable

Basic service endpoint information.

Since:
4.0
See Also:
Serialized Form
Component:
Core-Services

Field Summary
static int GET
          GET transport method.
 java.lang.String path
          Service endpoint path.
static int POST
          POST transport method.
 ServiceInstance serviceInstance
          Service instance.
 int transportMethod
          Transport method - can be either GET or POST.
 
Constructor Summary
ServiceEndpoint()
          Creates a new ServiceEndpoint instance.
ServiceEndpoint(java.lang.String path, ServiceInstance serviceInstance)
          Creates a new ServiceEndpoint instance.
 
Method Summary
 boolean equals(java.lang.Object object)
          Determines whether instances are equal.
 int hashCode()
          Hash code value for this object.
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

POST

public static final int POST
POST transport method.

See Also:
Constant Field Values

GET

public static final int GET
GET transport method.

See Also:
Constant Field Values

path

public java.lang.String path
Service endpoint path.


serviceInstance

public ServiceInstance serviceInstance
Service instance.


transportMethod

public int transportMethod
Transport method - can be either GET or POST.

Constructor Detail

ServiceEndpoint

public ServiceEndpoint()
Creates a new ServiceEndpoint instance.


ServiceEndpoint

public ServiceEndpoint(java.lang.String path,
                       ServiceInstance serviceInstance)
Creates a new ServiceEndpoint instance.

Parameters:
path - the service enpoint path
serviceInstance - the service instance
Method Detail

hashCode

public int hashCode()
Hash code value for this object.

Returns:
hash code value for this object.

equals

public boolean equals(java.lang.Object object)
Determines whether instances are equal.

Parameters:
object - an object.
Returns:
true if instances are equal, else returns false.

toString

public java.lang.String toString()
Returns a string representation of this object.

Returns:
a string representation of the object.