public interface EntityManagerInternal extends EntityManager, BrooklynObjectManagerInternal<Entity>
Modifier and Type | Method and Description |
---|---|
<T extends Entity> |
createEntity(EntitySpec<T> spec,
<any> entityId)
Same as
EntityManager.createEntity(EntitySpec) , but takes an optional entity id that will be
used for the entity. |
void |
discardPremanaged(Entity e)
Similar to
EntityManager.unmanage(Entity) , but used to discard partially constructed entities. |
java.lang.Iterable<Entity> |
getAllEntitiesInApplication(Application application)
gets all entities currently known to the application, including entities that are not yet managed
|
java.lang.Iterable<java.lang.String> |
getEntityIds() |
createEnricher, createEntity, createEntity, createPolicy, findEntities, findEntitiesInApplication, getEntities, getEntitiesInApplication, getEntity, getEntityTypeRegistry, isManaged, manage, unmanage
getLastManagementTransitionMode, manageRebindedRoot, setManagementTransitionMode, unmanage
java.lang.Iterable<Entity> getAllEntitiesInApplication(Application application)
java.lang.Iterable<java.lang.String> getEntityIds()
<T extends Entity> T createEntity(EntitySpec<T> spec, <any> entityId)
EntityManager.createEntity(EntitySpec)
, but takes an optional entity id that will be
used for the entity.void discardPremanaged(Entity e)
EntityManager.unmanage(Entity)
, but used to discard partially constructed entities.java.lang.IllegalStateException
- if the entity, or any of its descendents are already managed.