org.glite.discovery
Interface Service

All Known Subinterfaces:
ServiceDetails

public interface Service

Provides basic information about a Service.


Method Summary
 java.lang.String getEndpoint()
          Gets the service endpoint.
 java.lang.String getName()
          Gets the unique service name.
 int getStatus()
          Deprecated.  
 java.lang.String getStatusMessage()
          Deprecated.  
 java.lang.String getType()
          Gets the service type.
 java.lang.String getVersion()
          Gets the service version.
 

Method Detail

getEndpoint

public java.lang.String getEndpoint()
Gets the service endpoint.

Returns:
The service endpoint.

getName

public java.lang.String getName()
Gets the unique service name.

Returns:
The unique service name.

getType

public java.lang.String getType()
Gets the service type.

Returns:
The service type.

getVersion

public java.lang.String getVersion()
Gets the service version.

Returns:
The service version as a String.

getStatus

public int getStatus()
Deprecated.  

Gets the service status.

Returns:
The service status code: ServiceStatus.OK, ServiceStatus.WARNING, ServiceStatus.CRITICAL or ServiceStatus.UNKNOWN.
See Also:
ServiceStatus

getStatusMessage

public java.lang.String getStatusMessage()
Deprecated.  

Gets the service status message.

Returns:
The service status message.