Package org.gcube.common.scope.impl
Class DefaultServiceMap
- java.lang.Object
-
- org.gcube.common.scope.impl.DefaultServiceMap
-
- All Implemented Interfaces:
ServiceMap
public class DefaultServiceMap extends Object implements ServiceMap
AServiceMapwith a standard XML binding.- Author:
- Fabio Simeoni
-
-
Field Summary
-
Fields inherited from interface org.gcube.common.scope.api.ServiceMap
instance
-
-
Constructor Summary
Constructors Constructor Description DefaultServiceMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringendpoint(String service)Returns the endpoint of a given service.booleanequals(Object obj)inthashCode()Stringscope()Returns the associated scope.StringtoString()Stringversion()Returns the release version of the map.
-
-
-
Method Detail
-
scope
public String scope()
Description copied from interface:ServiceMapReturns the associated scope.- Specified by:
scopein interfaceServiceMap- Returns:
- the scope
-
version
public String version()
Description copied from interface:ServiceMapReturns the release version of the map.- Specified by:
versionin interfaceServiceMap- Returns:
- the version
-
endpoint
public String endpoint(String service)
Description copied from interface:ServiceMapReturns the endpoint of a given service.- Specified by:
endpointin interfaceServiceMap- Parameters:
service- the service- Returns:
- the endpoint
-
-