|
Brooklyn | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectbrooklyn.entity.proxying.InternalLocationFactory
public class InternalLocationFactory
Creates locations of required types. This is an internal class for use by core-brooklyn. End-users are strongly discouraged from using this class directly.
| Nested Class Summary | |
|---|---|
static class |
InternalLocationFactory.FactoryConstructionTracker
For tracking if AbstractLocation constructor has been called by framework, or in legacy way (i.e. directly). |
| Method Summary | |
|---|---|
java.lang.Object
|
InternalLocationFactory(ManagementContextInternal managementContext)
|
java.lang.Object
|
createLocation(LocationSpec spec)
|
static boolean
|
isNewStyleLocation(ManagementContext managementContext, java.lang.Class clazz)
Returns true if this is a "new-style" location (i.e. where not expected to call the constructor to instantiate it). |
static boolean
|
isNewStyleLocation(java.lang.Class clazz)
|
| 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 |
|---|
public java.lang.Object InternalLocationFactory(ManagementContextInternal managementContext)
@SuppressWarnings({ "unchecked", "rawtypes" })
public java.lang.Object createLocation(LocationSpec spec)
public static boolean isNewStyleLocation(ManagementContext managementContext, java.lang.Class clazz)
public static boolean isNewStyleLocation(java.lang.Class clazz)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.