public class ServerPoolLocationResolver extends java.lang.Object implements LocationResolver.EnableableLocationResolver
LocationResolver.EnableableLocationResolver| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | POOL_SPEC | 
| Constructor and Description | 
|---|
| ServerPoolLocationResolver() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | accepts(java.lang.String spec,
       LocationRegistry registry)whether the spec is something which should be passed to this resolver | 
| java.lang.String | getPrefix()the prefix that this resolver will attend to | 
| void | init(ManagementContext managementContext) | 
| boolean | isEnabled()whether the location is enabled | 
| Location | newLocationFromString(java.util.Map locationFlags,
                     java.lang.String spec,
                     LocationRegistry registry)Similar to  #newLocationFromString(Map, String)but passing in a reference to the registry itself (from which the base properties are discovered)
 and including flags (e.g. | 
public static final java.lang.String POOL_SPEC
public boolean isEnabled()
LocationResolver.EnableableLocationResolverisEnabled in interface LocationResolver.EnableableLocationResolverpublic void init(ManagementContext managementContext)
init in interface LocationResolverpublic java.lang.String getPrefix()
LocationResolvergetPrefix in interface LocationResolverpublic boolean accepts(java.lang.String spec,
              LocationRegistry registry)
LocationResolveraccepts in interface LocationResolverpublic Location newLocationFromString(java.util.Map locationFlags, java.lang.String spec, LocationRegistry registry)
LocationResolver#newLocationFromString(Map, String) 
 but passing in a reference to the registry itself (from which the base properties are discovered)
 and including flags (e.g. user, key, cloud credential) which are known to be for this location.
 introduced to support locations which refer to other locations, e.g. NamedLocationResolver
newLocationFromString in interface LocationResolver