Brooklyn

brooklyn.location.basic
[Java] Class LocationRegistry

java.lang.Object
  brooklyn.location.basic.LocationRegistry

public class LocationRegistry

Field Summary
static Logger log

protected java.util.Map resolvers

 
Constructor Summary
LocationRegistry()

LocationRegistry(java.util.Map properties)

 
Method Summary
protected void findServices()

java.util.List getLocationsById(java.lang.Iterable ids)

Expects a collection of strings being the spec for locations, returns a list of locations.

java.util.Map getProperties()

Location resolve(java.lang.String spec)

Location resolve(java.lang.String spec, java.util.Map locationFlags)

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

log

public static final Logger log


resolvers

protected java.util.Map resolvers


 
Constructor Detail

LocationRegistry

public LocationRegistry()


LocationRegistry

public LocationRegistry(java.util.Map properties)


 
Method Detail

findServices

protected void findServices()


getLocationsById

public java.util.List getLocationsById(java.lang.Iterable ids)
Expects a collection of strings being the spec for locations, returns a list of locations. Also allows single elements which are comma-separated lists of locations.

For legacy compatibility this also accepts nested lists, but that is deprecated (and triggers a warning).


getProperties

public java.util.Map getProperties()


resolve

public Location resolve(java.lang.String spec)


resolve

public Location resolve(java.lang.String spec, java.util.Map locationFlags)


 

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