|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
brooklyn.entity.Entitybrooklyn.entity.rebind.Rebindable
brooklyn.entity.basic.EntityInternal
@Beta public interface EntityInternal extends Entity
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)
|
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()
|
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 |
SubscriptionContext
|
getSubscriptionContext()
|
void
|
refreshInheritedConfig()
|
void
|
removeLocations(java.util.Collection locations)
|
java.lang.Object
|
setAttribute(AttributeSensorAndConfigKey configuredSensor)
sets the value of the given attribute sensor from the config key value herein, if the config key resolves to a non-null value as a sensor |
java.lang.Object
|
setAttributeWithoutPublishing(AttributeSensor sensor, java.lang.Object val)
Like setAttribute(brooklyn.event.AttributeSensor, java.lang.Object), except does not publish an attribute-change event. |
Methods inherited from interface Entity | |
---|---|
addChild, addChild, addEnricher, addGroup, addOwnedChild, addPolicy, clearOwner, clearParent, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getDisplayName, getEnrichers, getEntityType, getGroups, getId, getLocations, getOwnedChildren, getOwner, getParent, getPolicies, getRebindSupport, invoke, removeChild, removeEnricher, removeOwnedChild, removePolicy, setOwner, setParent |
Methods inherited from interface Rebindable | |
---|---|
getRebindSupport |
Method Detail |
---|
public void addLocations(java.util.Collection locations)
@Beta // for internal use only public EntityInternal configure(java.util.Map flags)
@Beta public void destroy()
@Beta public java.util.Map getAllAttributes()
@Beta public java.util.Map getAllConfig()
public EntityConfigMap getConfigMap()
public ExecutionContext getExecutionContext()
public ManagementContext getManagementContext()
public EntityManagementSupport getManagementSupport()
public SubscriptionContext getSubscriptionContext()
@Beta public void refreshInheritedConfig()
public void removeLocations(java.util.Collection locations)
public java.lang.Object setAttribute(AttributeSensorAndConfigKey configuredSensor)
T val = getConfig(KEY.getConfigKey()); if (val != null) { setAttribute(KEY, val) }
public java.lang.Object setAttributeWithoutPublishing(AttributeSensor sensor, java.lang.Object val)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.