|
Brooklyn | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
public interface EntityTypeRegistry
A registry of the entity implementations to be used when creating an entity of a given type. A given implementation can only be associated with one entity type interface.
| Method Summary | |
|---|---|
java.lang.Class
|
getEntityTypeOf(java.lang.Class type)
Returns the interface of this entity implementation. |
java.lang.Class
|
getImplementedBy(java.lang.Class type)
Returns the implementation to be used for the given entity type. |
EntityTypeRegistry
|
registerImplementation(java.lang.Class type, java.lang.Class implClazz)
Registers the implementation to use for a given entity type. |
| Method Detail |
|---|
public java.lang.Class getEntityTypeOf(java.lang.Class type)
public java.lang.Class getImplementedBy(java.lang.Class type)
entity - the DriverDependentEntity to create the EntityDriver for.location - the Location where the DriverDependentEntity is running.
public EntityTypeRegistry registerImplementation(java.lang.Class type, java.lang.Class implClazz)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.