public abstract class AbstractGeoDnsServiceImpl extends AbstractEntity implements AbstractGeoDnsService
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractGeoDnsServiceImpl.MemberTrackingPolicy |
AbstractEntity.BasicConfigurationSupport, AbstractEntity.BasicEnricherSupport, AbstractEntity.BasicGroupSupport, AbstractEntity.BasicPolicySupport, AbstractEntity.BasicSensorSupport, AbstractEntity.BasicSubscriptionSupportEntity.AdjunctSupport<T extends EntityAdjunct>, Entity.EnricherSupport, Entity.GroupSupport, Entity.PolicySupport, Entity.SensorSupportBrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupportConfigurable.ConfigurationSupportEntityInternal.EnricherSupportInternal, EntityInternal.EntitySubscriptionSupportInternal, EntityInternal.FeedSupport, EntityInternal.GroupSupportInternal, EntityInternal.PolicySupportInternal, EntityInternal.SensorSupportInternalBrooklynObjectInternal.ConfigurationSupportInternal, BrooklynObjectInternal.RelationSupportInternal<T extends BrooklynObject>, BrooklynObjectInternal.SubscriptionSupportInternalAPPLICATION_ID, CATALOG_ID, CHILD_ADDED, CHILD_REMOVED, CONFIG_KEY_ADDED, CONFIG_KEY_REMOVED, DEFAULT_DISPLAY_NAME, EFFECTOR_ADDED, EFFECTOR_CHANGED, EFFECTOR_REMOVED, ENTITY_ID, GROUP_ADDED, GROUP_REMOVED, LOCATION_ADDED, LOCATION_REMOVED, POLICY_ADDED, POLICY_REMOVED, SENSOR_ADDED, SENSOR_REMOVEDADDRESS, ENTITY_PROVIDER, FILTER_FOR_RUNNING, HOSTNAME, INCLUDE_HOMELESS_ENTITIES, SERVICE_STATE_ACTUAL, SERVICE_UP, TARGETS, USE_HOSTNAMES| Constructor and Description |
|---|
AbstractGeoDnsServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Should be invoked at end-of-life to clean up the item.
|
abstract java.lang.String |
getHostname()
should return the hostname which this DNS service is configuring
|
java.util.Map<Entity,HostGeoInfo> |
getTargetHosts() |
void |
init()
Default entity initialization sets ID sensors and calls
AbstractEntity.initEnrichers(). |
void |
onManagementStarted()
Invoked by
EntityManagementSupport when this entity is fully managed and visible to other entities
through the management context. |
void |
onManagementStopped()
Invoked by
EntityManagementSupport when this entity is fully unmanaged. |
void |
setServiceState(Lifecycle state) |
void |
setTargetEntityProvider(Group entityProvider)
sets target to be a group whose *members* will be searched (non-Group items not supported)
|
addChild, addChild, addFeed, addLocations, addLocationsWithoutPublishing, clearLocations, clearParent, config, configure, configure, enrichers, equals, feeds, firstLocation, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfig, getCreationTime, getDisplayName, getEffector, getEntityType, getExecutionContext, getIconUrl, getLocations, getManagementContext, getManagementSupport, getMutableEntityType, getParent, getProxy, getProxyIfAvailable, getRebindSupport, groups, hashCode, invalidateReferences, invoke, invoke, invoke, onManagementBecomingMaster, onManagementNoLongerMaster, onManagementStarting, policies, relations, removeChild, removeLocations, requestPersist, resetProxy, sensors, setConfigEvenIfOwned, setConfigEvenIfOwned, setDisplayName, setManagementContext, setParent, setProxy, subscriptions, toMetadataRecord, toStringaddSearchPath, getCatalogItemId, getCatalogItemIdSearchPath, getId, rebind, setCatalogItemId, setCatalogItemIdAndSearchPath, stackCatalogItemId, tagsaddChild, addChild, addFeed, clearParent, enrichers, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getCreationTime, getDisplayName, getEntityType, getIconUrl, getId, getLocations, getParent, groups, invoke, policies, relations, removeChild, sensors, setDisplayName, setParentgetCatalogItemId, getCatalogItemIdSearchPath, subscriptions, tagsconfig, getConfigaddSearchPath, setCatalogItemId, setCatalogItemIdAndSearchPath, stackCatalogItemIdpublic void init()
AbstractEntityAbstractEntity.initEnrichers().init in class AbstractEntitypublic java.util.Map<Entity,HostGeoInfo> getTargetHosts()
getTargetHosts in interface AbstractGeoDnsServicepublic void onManagementStarted()
AbstractEntityEntityManagementSupport when this entity is fully managed and visible to other entities
through the management context.onManagementStarted in class AbstractEntitypublic void onManagementStopped()
AbstractEntityEntityManagementSupport when this entity is fully unmanaged.
Note that the activies possible here (when unmanaged) are limited, and that this event may be caused by either a brooklyn node itself being demoted (so the entity is managed elsewhere) or by a controlled shutdown.
onManagementStopped in class AbstractEntitypublic void destroy()
AbstractEntitydestroy in interface EntityInternaldestroy in class AbstractEntitypublic void setServiceState(Lifecycle state)
setServiceState in interface AbstractGeoDnsServicepublic void setTargetEntityProvider(Group entityProvider)
AbstractGeoDnsServicesetTargetEntityProvider in interface AbstractGeoDnsServicepublic abstract java.lang.String getHostname()
AbstractGeoDnsServicegetHostname in interface AbstractGeoDnsService