|
Brooklyn | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectbrooklyn.entity.proxying.EntitySpecs
public class EntitySpecs
For creating EntitySpec instances.
| Method Summary | |
|---|---|
static BasicEntitySpec
|
appSpec(java.lang.Class type)
Creates a new EntitySpec for this application type. |
static BasicEntitySpec
|
spec(java.lang.Class type)
Creates a new EntitySpec instance for an entity of the given type. |
static BasicEntitySpec
|
spec(java.lang.Class type, java.lang.Class implType)
Creates a new EntitySpec instance for an entity of the given type. |
static BasicEntitySpec
|
spec(java.util.Map config, java.lang.Class type)
Creates a new EntitySpec instance with the given config, for an entity of the given type. |
static WrappingEntitySpec
|
wrapSpec(EntitySpec spec)
Wraps an entity spec so its configuration can be overridden without modifying the original entity 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() |
| Method Detail |
|---|
@SuppressWarnings("unchecked")
public static BasicEntitySpec appSpec(java.lang.Class type)
public static BasicEntitySpec spec(java.lang.Class type)
type - An Entity interface
public static BasicEntitySpec spec(java.lang.Class type, java.lang.Class implType)
type - An Entity interfaceimplType - An Entity implementation, which implements the type interface
public static BasicEntitySpec spec(java.util.Map config, java.lang.Class type)
config - The spec's configuration (see BasicEntitySpec#configure(Map)#configure(Map)).type - An Entity interface
public static WrappingEntitySpec wrapSpec(EntitySpec spec)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.