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.BasicSubscriptionSupport
Entity.AdjunctSupport<T extends EntityAdjunct>, Entity.EnricherSupport, Entity.GroupSupport, Entity.PolicySupport, Entity.SensorSupport
BrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupport
Configurable.ConfigurationSupport
EntityInternal.EnricherSupportInternal, EntityInternal.FeedSupport, EntityInternal.GroupSupportInternal, EntityInternal.PolicySupportInternal, EntityInternal.SensorSupportInternal
BrooklynObjectInternal.ConfigurationSupportInternal, BrooklynObjectInternal.RelationSupportInternal<T extends BrooklynObject>, BrooklynObjectInternal.SubscriptionSupportInternal
CHILD_ADDED, CHILD_REMOVED, CONFIG_KEY_ADDED, CONFIG_KEY_REMOVED, EFFECTOR_ADDED, EFFECTOR_CHANGED, EFFECTOR_REMOVED, GROUP_ADDED, GROUP_REMOVED, LOCATION_ADDED, LOCATION_REMOVED, POLICY_ADDED, POLICY_REMOVED, SENSOR_ADDED, SENSOR_REMOVED
ADDRESS, 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, just calls
AbstractEntity.initEnrichers() . |
void |
onManagementBecomingMaster()
Invoked by
ManagementContext when this entity becomes managed at a particular management node,
including the initial management started and subsequent management node master-change for this entity. |
void |
onManagementNoLongerMaster()
Invoked by
ManagementContext when this entity becomes mastered at a particular management node,
including the final management end and subsequent management node master-change for this entity. |
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, addEnricher, addEnricher, addFeed, addGroup, addLocations, addPolicy, addPolicy, clearLocations, clearParent, config, configure, configure, configure, configure, configure, configure, emit, emitInternal, enrichers, equals, feeds, firstLocation, getAllAttributes, getAllConfig, getAllConfigBag, getApplication, getApplicationId, getAttribute, getAttributeByNameParts, getChildren, getConfig, getConfig, getConfig, getConfig, getConfigMap, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEffector, getEnrichers, getEntityType, getExecutionContext, getFeedSupport, getGroups, getIconUrl, getLocalConfigBag, getLocations, getManagementContext, getManagementSupport, getMutableEntityType, getParent, getPolicies, getProxy, getProxyIfAvailable, getRebindSupport, groups, hashCode, invalidateReferences, invoke, invoke, invoke, modifyAttribute, onManagementStarted, onManagementStarting, onManagementStopped, policies, refreshInheritedConfig, relations, removeAllEnrichers, removeAllPolicies, removeAttribute, removeChild, removeEnricher, removeGroup, removeLocations, removePolicy, requestPersist, resetProxy, sensors, setAttribute, setAttribute, setAttributeWithoutPublishing, setConfig, setConfig, setConfig, setConfig, setConfig, setConfig, setConfigEvenIfOwned, setConfigEvenIfOwned, setDisplayName, setManagementContext, setParent, setProxy, subscribe, subscribeToChildren, subscribeToMembers, subscriptions, toMetadataRecord, toString, unsubscribe, unsubscribe
getCatalogItemId, getId, rebind, setCatalogItemId, tags
addChild, addChild, addEnricher, addEnricher, addFeed, addGroup, addPolicy, addPolicy, clearParent, enrichers, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, groups, invoke, policies, relations, removeChild, removeEnricher, removeGroup, removePolicy, sensors, setDisplayName, setParent
getCatalogItemId, subscriptions, tags
config, getConfig, setConfig
setCatalogItemId
public void init()
AbstractEntity
AbstractEntity.initEnrichers()
.init
in class AbstractEntity
public java.util.Map<Entity,HostGeoInfo> getTargetHosts()
getTargetHosts
in interface AbstractGeoDnsService
public void onManagementBecomingMaster()
AbstractEntity
ManagementContext
when this entity becomes managed at a particular management node,
including the initial management started and subsequent management node master-change for this entity.onManagementBecomingMaster
in class AbstractEntity
public void onManagementNoLongerMaster()
AbstractEntity
ManagementContext
when this entity becomes mastered at a particular management node,
including the final management end and subsequent management node master-change for this entity.onManagementNoLongerMaster
in class AbstractEntity
public void destroy()
AbstractEntity
destroy
in interface EntityInternal
destroy
in class AbstractEntity
public void setServiceState(Lifecycle state)
setServiceState
in interface AbstractGeoDnsService
public void setTargetEntityProvider(Group entityProvider)
AbstractGeoDnsService
setTargetEntityProvider
in interface AbstractGeoDnsService
public abstract java.lang.String getHostname()
AbstractGeoDnsService
getHostname
in interface AbstractGeoDnsService