public class NamedLocationResolver extends java.lang.Object implements LocationResolver
or
brooklyn.location.named.bob-aws-east=jclouds:aws-ec2:us-east-1 brooklyn.location.named.bob-aws-east.identity=BobId brooklyn.location.named.bob-aws-east.credential=BobCred
then you can simply refer to: foo or named:foo (or bob-aws-east or named:bob-aws-east) in any location spec
LocationResolver.EnableableLocationResolver| Modifier and Type | Field and Description | 
|---|---|
| static org.slf4j.Logger | log | 
| static java.lang.String | NAMED | 
| Constructor and Description | 
|---|
| NamedLocationResolver() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | accepts(java.lang.String spec,
       LocationRegistry registry)accepts anything starting  named:xxx  or  xxx where xxx is a defined location name | 
| java.lang.String | getPrefix()the prefix that this resolver will attend to | 
| void | init(ManagementContext managementContext) | 
| 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 org.slf4j.Logger log
public static final java.lang.String NAMED
public void init(ManagementContext managementContext)
init 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 LocationResolverpublic java.lang.String getPrefix()
LocationResolvergetPrefix in interface LocationResolverpublic boolean accepts(java.lang.String spec,
              LocationRegistry registry)
accepts in interface LocationResolver