|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceMap
Resolves service endpoints statically configured for a given scope.
| Field Summary | |
|---|---|
static ServiceMap |
instance
Shared ServiceMap. |
| Method Summary | |
|---|---|
String |
endpoint(String service)
Returns the endpoint of a given service. |
String |
scope()
Returns the associated scope. |
String |
version()
Returns the release version of the map. |
| Field Detail |
|---|
static final ServiceMap instance
ServiceMap.
| Method Detail |
|---|
String endpoint(String service)
service - the service
IllegalArgumentException - if the service has no endpoint in the map
IllegalStateException - if the service endpoint cannot be returnedString scope()
IllegalStateException - if the scope of the map cannot be returnedString version()
IllegalStateException - if the version of the map cannot be returned
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||