org.gcube.common.scope.impl
Class DefaultServiceMap

java.lang.Object
  extended by org.gcube.common.scope.impl.DefaultServiceMap
All Implemented Interfaces:
ServiceMap

public class DefaultServiceMap
extends Object
implements ServiceMap

A ServiceMap with a standard XML binding.

Author:
Fabio Simeoni

Field Summary
 
Fields inherited from interface org.gcube.common.scope.api.ServiceMap
instance
 
Constructor Summary
DefaultServiceMap()
           
 
Method Summary
 List<String> endpoint(String service)
          Returns the endpoints of a given service.
 String scope()
          Returns the associated scope.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultServiceMap

public DefaultServiceMap()
Method Detail

scope

public String scope()
Description copied from interface: ServiceMap
Returns the associated scope.

Specified by:
scope in interface ServiceMap
Returns:
the scope

endpoint

public List<String> endpoint(String service)
Description copied from interface: ServiceMap
Returns the endpoints of a given service.

Specified by:
endpoint in interface ServiceMap
Parameters:
service - the service
Returns:
the endpoints, or null if the service is unknown.


Copyright © 2012. All Rights Reserved.