Brooklyn

brooklyn.management.internal
[Java] Class LocalEntityManager

java.lang.Object
  brooklyn.management.internal.LocalEntityManager
All Implemented Interfaces:
EntityManager

public class LocalEntityManager

Field Summary
protected java.util.Set applications

Proxies of the managed entities that are applications

protected groovy.util.ObservableList entities

Proxies of the managed entities

protected java.util.Map entitiesById

Real managed entities

protected java.util.Map entityProxiesById

Proxies of the managed entities

protected java.util.Map preManagedEntitiesById

Entities that are in the process of being managed, but where management is not yet complete

protected java.util.Map preRegisteredEntitiesById

Entities 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()

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

applications

protected final java.util.Set applications
Proxies of the managed entities that are applications


entities

protected final groovy.util.ObservableList entities
Proxies of the managed entities


entitiesById

protected final java.util.Map entitiesById
Real managed entities


entityProxiesById

protected final java.util.Map entityProxiesById
Proxies of the managed entities


preManagedEntitiesById

protected final java.util.Map preManagedEntitiesById
Entities that are in the process of being managed, but where management is not yet complete


preRegisteredEntitiesById

protected final java.util.Map preRegisteredEntitiesById
Entities that have been created, but have not yet begun to be managed


 
Constructor Detail

LocalEntityManager

public LocalEntityManager(LocalManagementContext managementContext)


 
Method Detail

createEntity

@Override
public java.lang.Object createEntity(EntitySpec spec)


createEntity

@Override
public java.lang.Object createEntity(java.util.Map config, java.lang.Class type)


getEntities

@Override
public java.util.Collection getEntities()


getEntity

@Override
public Entity getEntity(java.lang.String id)


getEntityTypeRegistry

@Override
public EntityTypeRegistry getEntityTypeRegistry()


isManaged

@Override
public boolean isManaged(Entity e)


manage

@Override
public void manage(Entity e)


unmanage

@Override
public void unmanage(Entity e)


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.