Brooklyn

brooklyn.location.basic
[Java] Interface RegistryLocationResolver

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

public interface RegistryLocationResolver
extends LocationResolver

extension to LocationResolver which can take a registry


Method Summary
boolean accepts(java.lang.String spec, LocationRegistry registry)

whether the spec is something which should be passed to this resolver

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

 
Methods inherited from interface LocationResolver
getPrefix, newLocationFromString
 

Method Detail

accepts

public boolean accepts(java.lang.String spec, LocationRegistry registry)
whether the spec is something which should be passed to this resolver


newLocationFromString

@SuppressWarnings("rawtypes")
public 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. 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.