public class ScopedServiceMap extends Object implements ServiceMap
ServiceMap that forwards requests to ServiceMaps associated
with the current scope.
At construction time, it configures itself with all the service maps found
in the classpath (excluding URLs available to primordial and extension
classloader). Recognises service maps as resources whose names match a
ServiceMapScanner.mapConfigPattern.
instance| Constructor and Description |
|---|
ScopedServiceMap() |
public String scope()
ServiceMapscope in interface ServiceMappublic String version()
ServiceMapversion in interface ServiceMappublic String endpoint(String service) throws IllegalArgumentException, IllegalStateException
ServiceMapendpoint in interface ServiceMapservice - the serviceIllegalArgumentException - if the service has no endpoint in the mapIllegalStateException - if the service endpoint cannot be returnedCopyright © 2015. All Rights Reserved.