public class UrlMappingImpl extends AbstractGroupImpl implements UrlMapping
Configuration requires a domain and some mechanism for finding members. The easiest way to find members is using a target whose children will be tracked, but alternative membership policies can also be used.
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_REMOVEDDISCARD, DOMAIN, LABEL, PATH, REWRITES, SSL_CONFIG, TARGET_ADDRESSES, TARGET_PARENTFIRST, GROUP_MEMBERS, MEMBER_DELEGATE_CHILDREN, MEMBER_DELEGATE_NAME_FORMAT, RUNNING_QUORUM_CHECK, UP_QUORUM_CHECKGROUP_SIZE, MEMBER_ADDED, MEMBER_REMOVED| Constructor and Description |
|---|
UrlMappingImpl() |
| Modifier and Type | Method and Description |
|---|---|
UrlMapping |
addRewrite(java.lang.String from,
java.lang.String to)
adds a rewrite rule, must be called at config time.
|
UrlMapping |
addRewrite(UrlRewriteRule rule)
adds a rewrite rule, must be called at config time.
|
void |
discard() |
java.lang.String |
getDomain() |
java.lang.String |
getPath() |
ProxySslConfig |
getSsl() |
Entity |
getTarget() |
java.util.Collection<java.lang.String> |
getTargetAddresses() |
java.lang.String |
getUniqueLabel() |
void |
onManagementStarting()
Invoked by
EntityManagementSupport when this entity is becoming managed (i.e. |
void |
recompute() |
void |
setTarget(Entity target) |
addMember, addMemberChild, addMemberChild, addMemberInternal, getCurrentSize, getMembers, hasMember, init, removeMember, setManagementContext, setMembers, setMembersaddChild, addChild, addFeed, addLocations, addLocationsWithoutPublishing, clearLocations, clearParent, config, configure, configure, destroy, 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, onManagementStarted, onManagementStopped, policies, relations, removeChild, removeLocations, requestPersist, resetProxy, sensors, setConfigEvenIfOwned, setConfigEvenIfOwned, setDisplayName, setParent, setProxy, subscriptions, toMetadataRecord, toStringaddSearchPath, getCatalogItemId, getCatalogItemIdSearchPath, getId, rebind, setCatalogItemId, setCatalogItemIdAndSearchPath, stackCatalogItemId, tagsgetFirst, setMembers, setMembersaddChild, addChild, addMember, addMemberChild, addMemberChild, getCurrentSize, getMembers, hasMember, removeMemberaddFeed, 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 java.lang.String getUniqueLabel()
getUniqueLabel in interface UrlMappingpublic UrlMapping addRewrite(java.lang.String from, java.lang.String to)
UrlRewriteRule for more info.addRewrite in interface UrlMappingpublic UrlMapping addRewrite(UrlRewriteRule rule)
UrlRewriteRule for more info.addRewrite in interface UrlMappingpublic java.lang.String getDomain()
getDomain in interface UrlMappingpublic java.lang.String getPath()
getPath in interface UrlMappingpublic Entity getTarget()
getTarget in interface UrlMappingpublic void setTarget(Entity target)
setTarget in interface UrlMappingpublic void onManagementStarting()
AbstractEntityEntityManagementSupport when this entity is becoming managed (i.e. it has a working
management context, but before the entity is visible to other entities), including during a rebind.onManagementStarting in class AbstractEntitypublic java.util.Collection<java.lang.String> getTargetAddresses()
getTargetAddresses in interface UrlMappingpublic ProxySslConfig getSsl()
getSsl in interface UrlMappingpublic void recompute()
recompute in interface UrlMappingpublic void discard()
discard in interface UrlMapping