Brooklyn

brooklyn.location.jclouds
[Java] Class JcloudsResolver

java.lang.Object
  brooklyn.location.jclouds.JcloudsResolver
All Implemented Interfaces:
LocationResolver

@SuppressWarnings("rawtypes")
public class JcloudsResolver

Nested Class Summary
protected static class JcloudsResolver.JcloudsSpecParser

 
Field Summary
static java.util.Map APIS

static java.util.Collection AWS_REGIONS

static java.lang.String JCLOUDS

static java.util.Map PROVIDERS

static Logger log

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

java.lang.String getPrefix()

void init(ManagementContext managementContext)

JcloudsLocation newLocationFromString(java.lang.String spec)

@deprecated since 0.6; use newLocationFromString(String, LocationRegistry, Map, Map)

JcloudsLocation newLocationFromString(java.util.Map properties, java.lang.String spec)

JcloudsLocation newLocationFromString(java.util.Map locationFlags, java.lang.String spec, LocationRegistry registry)

protected JcloudsLocation newLocationFromString(java.lang.String spec, LocationRegistry registry, java.util.Map properties, java.util.Map locationFlags)

static JcloudsLocation resolve(java.lang.String spec)

@deprecated since 0.5; use resolveWithDefaultProperties(String)

static JcloudsLocation resolveWithDefaultProperties(java.lang.String spec)

@deprecated since 0.6; use managementContext.getLocationRegistry().resolve(spec)

static JcloudsLocation resolveWithProperties(java.lang.String spec, java.util.Map properties)

@deprecated since 0.6; use managementContext.getLocationRegistry().resolve(spec)

 
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

APIS

public static final java.util.Map APIS


AWS_REGIONS

public static final java.util.Collection AWS_REGIONS


JCLOUDS

public static final java.lang.String JCLOUDS


PROVIDERS

public static final java.util.Map PROVIDERS


log

public static final Logger log


 
Method Detail

accepts

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


getPrefix

}
public java.lang.String getPrefix()


init

this.managementContext = checkNotNull(managementContext, "managementContext");
public void init(ManagementContext managementContext)


newLocationFromString

public JcloudsLocation newLocationFromString(java.lang.String spec)
deprecated:
since 0.6; use newLocationFromString(String, LocationRegistry, Map, Map)


newLocationFromString

return newLocationFromString(spec, null, properties, new MutableMap());
public JcloudsLocation newLocationFromString(java.util.Map properties, java.lang.String spec)


newLocationFromString

return newLocationFromString(spec, registry, registry.getProperties(), locationFlags);
public JcloudsLocation newLocationFromString(java.util.Map locationFlags, java.lang.String spec, LocationRegistry registry)


newLocationFromString

protected JcloudsLocation newLocationFromString(java.lang.String spec, LocationRegistry registry, java.util.Map properties, java.util.Map locationFlags)


resolve

public static JcloudsLocation resolve(java.lang.String spec)
deprecated:
since 0.5; use resolveWithDefaultProperties(String)


resolveWithDefaultProperties

public static JcloudsLocation resolveWithDefaultProperties(java.lang.String spec)
deprecated:
since 0.6; use managementContext.getLocationRegistry().resolve(spec)


resolveWithProperties

public static JcloudsLocation resolveWithProperties(java.lang.String spec, java.util.Map properties)
deprecated:
since 0.6; use managementContext.getLocationRegistry().resolve(spec)


 

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