| 
 | Brooklyn | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectbrooklyn.management.internal.LocalEntityManager
public class LocalEntityManager
| Field Summary | |
|---|---|
| protected java.util.Set | applicationsProxies of the managed entities that are applications | 
| protected groovy.util.ObservableList | entitiesProxies of the managed entities | 
| protected java.util.Map | entitiesByIdReal managed entities | 
| protected java.util.Map | entityProxiesByIdProxies of the managed entities | 
| protected java.util.Map | preManagedEntitiesByIdEntities that are in the process of being managed, but where management is not yet complete | 
| protected java.util.Map | preRegisteredEntitiesByIdEntities that have been created, but have not yet begun to be managed | 
| Constructor Summary | |
| LocalEntityManager(LocalManagementContext managementContext) | |
| Method Summary | |
|---|---|
| java.lang.Object | createEntity(EntitySpec spec) | 
| java.lang.Object | createEntity(java.util.Map config, java.lang.Class type) | 
| java.util.Collection | getEntities() | 
| java.lang.Iterable | getEntitiesInApplication(Application application) | 
| Entity | getEntity(java.lang.String id) | 
| EntityTypeRegistry | getEntityTypeRegistry() | 
| boolean | isManaged(Entity e) | 
| void | manage(Entity e) | 
| void | unmanage(Entity e) | 
| 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() | 
| Field Detail | 
|---|
protected final java.util.Set applications
protected final groovy.util.ObservableList entities
protected final java.util.Map entitiesById
protected final java.util.Map entityProxiesById
protected final java.util.Map preManagedEntitiesById
protected final java.util.Map preRegisteredEntitiesById
| Constructor Detail | 
|---|
public LocalEntityManager(LocalManagementContext managementContext)
| Method Detail | 
|---|
@SuppressWarnings("unchecked")
@Override
public java.lang.Object createEntity(EntitySpec spec)
        
@Override public java.lang.Object createEntity(java.util.Map config, java.lang.Class type)
@Override public java.util.Collection getEntities()
@Override public java.lang.Iterable getEntitiesInApplication(Application application)
@Override public Entity getEntity(java.lang.String id)
@Override public EntityTypeRegistry getEntityTypeRegistry()
@Override public boolean isManaged(Entity e)
AccessController.Response access = managementContext.getAccessController().canManageEntity(e); public void manage(Entity e)
if (shouldSkipUnmanagement(it)) return false; public void unmanage(Entity e)
Brooklyn Multi-Cloud Application Management Platform 
 brooklyncentral.github.com. Apache License. © 2012.