Brooklyn

brooklyn.location.basic
[Java] Class LocationCreationUtils

java.lang.Object
  brooklyn.location.basic.LocationCreationUtils

public class LocationCreationUtils

Method Summary
static java.lang.Object newSubLocation(java.util.Map newFlags, java.lang.Object parent)

uses reflection to create a location with of the same type as the parent, with the given parent, assuming a Map constructor

static java.lang.Object newSubLocationOfType(java.util.Map newFlags, AbstractLocation parent, java.lang.Class newLocationType)

uses reflection to create a location with of the given type, with the given parent, assuming a Map constructor

 
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()
 

Method Detail

newSubLocation

@SuppressWarnings("unchecked")
public static java.lang.Object newSubLocation(java.util.Map newFlags, java.lang.Object parent)
uses reflection to create a location with of the same type as the parent, with the given parent, assuming a Map constructor


newSubLocationOfType

public static java.lang.Object newSubLocationOfType(java.util.Map newFlags, AbstractLocation parent, java.lang.Class newLocationType)
uses reflection to create a location with of the given type, with the given parent, assuming a Map constructor


 

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