|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
brooklyn.entity.basic.EntityInternalbrooklyn.entity.rebind.Rebindable
brooklyn.entity.Entity
brooklyn.entity.basic.EntityLocal
brooklyn.entity.trait.Identifiable
brooklyn.entity.trait.Configurable
@Beta public interface EntityInternal extends EntityLocal
Extended Entity interface with additional functionality that is purely-internal (i.e. intended for the brooklyn framework only).
Method Summary | |
---|---|
void
|
addLocations(java.util.Collection locations)
|
void
|
clearLocations()
|
EntityInternal
|
configure(java.util.Map flags)
Must be called before the entity is started. |
void
|
destroy()
Should be invoked at end-of-life to clean up the item. |
java.util.Map
|
getAllAttributes()
|
java.util.Map
|
getAllConfig()
@return a read-only copy of all the config key/value pairs on this entity. |
EntityConfigMap
|
getConfigMap()
|
Effector
|
getEffector(java.lang.String effectorName)
returns the effector registered against a given name |
ExecutionContext
|
getExecutionContext()
Returns the task execution context for the entity. |
ManagementContext
|
getManagementContext()
Returns the management context for the entity. |
EntityManagementSupport
|
getManagementSupport()
@return Routings for accessing and inspecting the management context of the entity |
EntityDynamicType
|
getMutableEntityType()
returns the dynamic type corresponding to the type of this entity instance |
SubscriptionContext
|
getSubscriptionContext()
|
void
|
refreshInheritedConfig()
|
void
|
removeAttribute(AttributeSensor attribute)
|
void
|
removeLocations(java.util.Collection locations)
|
java.lang.Object
|
setAttributeWithoutPublishing(AttributeSensor sensor, java.lang.Object val)
Like EntityLocal#setAttribute(AttributeSensor, Object)#setAttribute(AttributeSensor, Object), except does not publish an attribute-change event. |
java.util.Map
|
toMetadataRecord()
|
Methods inherited from interface EntityLocal | |
---|---|
emit, getConfig, getConfig, getConfig, getExecutionContext, getManagementContext, removeAllEnrichers, removeAllPolicies, setAttribute, setConfig, setConfig, setConfig, setConfig, setDisplayName, subscribe, subscribeToChildren, subscribeToMembers, unsubscribe, unsubscribe |
Methods inherited from interface Entity | |
---|---|
addChild, addChild, addEnricher, addGroup, addPolicy, clearParent, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfig, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, getRebindSupport, invoke, removeChild, removeEnricher, removePolicy, setParent |
Methods inherited from interface Configurable | |
---|---|
setConfig |
Method Detail |
---|
public void addLocations(java.util.Collection locations)
public void clearLocations()
@Beta // for internal use only EntityInternal configure(Map flags); public EntityInternal configure(java.util.Map flags)
void destroy(); public void destroy()
@Beta public java.util.Map getAllAttributes()
@Beta public java.util.Map getAllConfig()
public EntityConfigMap getConfigMap()
Effector> getEffector(String effectorName); public Effector getEffector(java.lang.String effectorName)
public ExecutionContext getExecutionContext()
public ManagementContext getManagementContext()
public EntityManagementSupport getManagementSupport()
EntityDynamicType getMutableEntityType(); public EntityDynamicType getMutableEntityType()
public SubscriptionContext getSubscriptionContext()
@Beta public void refreshInheritedConfig()
@Beta public void removeAttribute(AttributeSensor attribute)
public void removeLocations(java.util.Collection locations)
public java.lang.Object setAttributeWithoutPublishing(AttributeSensor sensor, java.lang.Object val)
public java.util.Map toMetadataRecord()
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.