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

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

Returns:
The service endpoint.

getName

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

Returns:
The unique service name.

getType

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

Returns:
The service type.

getVersion

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

Returns:
The service version as a String.

getStatus

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

java.lang.String getStatusMessage()
Deprecated. 

Gets the service status message.

Returns:
The service status message.