Brooklyn

brooklyn.location.basic
[Java] Interface RegistryLocationResolver

brooklyn.location.LocationResolver
  brooklyn.location.basic.RegistryLocationResolver
All Superinterfaces:
LocationResolver

public interface RegistryLocationResolver
extends LocationResolver

extension to LocationResolver which can take a registry


Method Summary
Location newLocationFromString(java.lang.String spec, LocationRegistry registry, java.util.Map locationFlags)

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. user, key, cloud credential) which are known to be for this location.

 
Methods inherited from interface LocationResolver
getPrefix, newLocationFromString
 

Method Detail

newLocationFromString

public Location newLocationFromString(java.lang.String spec, LocationRegistry registry, java.util.Map locationFlags)
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. user, key, cloud credential) which are known to be for this location.

introduced to support locations which refer to other locations, e.g. NamedLocationResolver


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.