org.gcube.common.scope.api
Interface ServiceMap

All Known Implementing Classes:
DefaultServiceMap, ScopedServiceMap

public interface ServiceMap

Resolves service endpoints statically configured for a given scope.

Author:
Fabio Simeoni

Field Summary
static ServiceMap instance
          Shared ServiceMap.
 
Method Summary
 List<String> endpoint(String service)
          Returns the endpoints of a given service.
 String scope()
          Returns the associated scope.
 

Field Detail

instance

static final ServiceMap instance
Shared ServiceMap.

Method Detail

endpoint

List<String> endpoint(String service)
Returns the endpoints of a given service.

Parameters:
service - the service
Returns:
the endpoints, or null if the service is unknown.

scope

String scope()
Returns the associated scope.

Returns:
the scope


Copyright © 2012. All Rights Reserved.