public class DynamicWebAppClusterImpl extends DynamicClusterImpl implements DynamicWebAppCluster
DynamicWebAppCluster.ApplyDisplayHintsDynamicCluster.NodePlacementStrategy, DynamicCluster.ZoneFailureDetectorBrooklynObject.TagSupportStartable.RestartEffectorBody, Startable.StartEffectorBody, Startable.StopEffectorBodyJavaWebAppService.CanDeployAndUndeploy, JavaWebAppService.CanRedeployAllWebAppServiceMetrics.InitializerEntityInternal.FeedSupportCHILD_ADDED, CHILD_REMOVED, EFFECTOR_ADDED, EFFECTOR_CHANGED, EFFECTOR_REMOVED, POLICY_ADDED, POLICY_REMOVED, SENSOR_ADDED, SENSOR_REMOVEDERROR_COUNT_PER_NODE, PROCESSING_TIME_FRACTION_IN_WINDOW_PER_NODE, REQUEST_COUNT_PER_NODE, REQUESTS_PER_SECOND_IN_WINDOW_PER_NODE, REQUESTS_PER_SECOND_LAST_PER_NODE, TOTAL_PROCESSING_TIME_PER_NODEAVAILABILITY_ZONE_NAMES, CLUSTER, CLUSTER_MEMBER, CUSTOM_CHILD_FLAGS, ENABLE_AVAILABILITY_ZONES, ENTITY_QUARANTINED, FACTORY, FAILED_SUB_LOCATIONS, INITIAL_QUORUM_SIZE, MEMBER_SPEC, NUM_AVAILABILITY_ZONES, QUARANTINE_FAILED_ENTITIES, QUARANTINE_GROUP, REMOVAL_STRATEGY, RESIZE_BY_DELTA, SERVICE_STATE_ACTUAL, SUB_LOCATIONS, ZONE_FAILURE_DETECTOR, ZONE_PLACEMENT_STRATEGYFIRST, FIRST_MEMBER, GROUP_MEMBERS, MEMBER_DELEGATE_CHILDREN, MEMBER_DELEGATE_NAME_FORMAT, RUNNING_QUORUM_CHECK, UP_QUORUM_CHECKGROUP_SIZE, MEMBER_ADDED, MEMBER_REMOVEDINITIAL_SIZERESTART, SERVICE_UP, START, STOPREPLACE_MEMBERNAMED_WARS, ROOT_WAR, WARS_BY_CONTEXTENABLED_PROTOCOLS, HTTP_PORT, HTTPS_PORT, HTTPS_SSL_CONFIG, ROOT_URLBYTES_RECEIVED, BYTES_SENT, ERROR_COUNT, MAX_PROCESSING_TIME, PROCESSING_TIME_FRACTION_IN_WINDOW, PROCESSING_TIME_FRACTION_LAST, REQUEST_COUNT, REQUESTS_PER_SECOND_IN_WINDOW, REQUESTS_PER_SECOND_LAST, TOTAL_PROCESSING_TIMECHECK_JAVA_HOSTNAME_BUG, JAVA_OPTS, JAVA_SYSPROPSDEPLOY, DEPLOYED_WARS, UNDEPLOYREDEPLOY_ALL| Constructor and Description | 
|---|
| DynamicWebAppClusterImpl()Instantiate a new DynamicWebAppCluster. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | deploy(java.lang.String url,
      java.lang.String targetName)Deploys the given artifact, from a source URL, to a given deployment filename/context. | 
| void | init()Default entity initialization, just calls  AbstractEntity.initEnrichers(). | 
| void | redeployAll() | 
| void | undeploy(java.lang.String targetName)For the DEPLOYED_WARS to be updated, the input must match the result of the call to deploy,
 e.g. | 
addNode, removeChild, replaceMember, resize, resizeByDelta, restart, setFactory, setMemberSpec, setRemovalStrategy, setZoneFailureDetector, setZonePlacementStrategy, start, stopaddMember, addMemberChild, addMemberChild, addMemberInternal, getCurrentSize, getMembers, hasMember, removeMember, setManagementContext, setMembers, setMembersaddChild, addChild, addEnricher, addEnricher, addFeed, addGroup, addLocations, addPolicy, addPolicy, addTag, clearLocations, clearParent, configure, configure, configure, configure, configure, containsTag, destroy, emit, emitInternal, 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, getSubscriptionContext, getTags, hashCode, invalidateReferences, invoke, invoke, invoke, modifyAttribute, onManagementBecomingMaster, onManagementNoLongerMaster, onManagementStarted, onManagementStarting, onManagementStopped, refreshInheritedConfig, removeAllEnrichers, removeAllPolicies, removeAttribute, removeEnricher, removeGroup, removeLocations, removePolicy, removeTag, requestPersist, resetProxy, setAttribute, setAttribute, setAttributeWithoutPublishing, setConfig, setConfig, setConfig, setConfig, setConfig, setConfig, setConfigEvenIfOwned, setConfigEvenIfOwned, setDisplayName, setParent, setProxy, subscribe, subscribeToChildren, subscribeToMembers, toMetadataRecord, toString, unsubscribe, unsubscribegetCatalogItemId, getId, getTagSupport, rebind, setCatalogItemId, tagsaddNode, resizeByDelta, setFactory, setMemberSpec, setRemovalStrategy, setZoneFailureDetector, setZonePlacementStrategysetMembers, setMembersaddChild, addChild, addMember, addMemberChild, addMemberChild, getCurrentSize, getMembers, hasMember, removeMemberaddEnricher, addEnricher, addFeed, addGroup, addPolicy, addPolicy, addTag, clearParent, containsTag, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfig, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, getTags, invoke, removeChild, removeEnricher, removeGroup, removePolicy, removeTag, setParentgetCatalogItemId, getTagSupport, tagsgetCurrentSize, resizereplaceMembersetCatalogItemIdpublic DynamicWebAppClusterImpl()
DynamicCluster#DynamicCluster()public void init()
AbstractEntityAbstractEntity.initEnrichers().init in class DynamicClusterImplpublic void deploy(java.lang.String url,
          java.lang.String targetName)
JavaWebAppService.CanDeployAndUndeployeither ROOT.WAR or / denotes root context
anything of form FOO.?AR (ending .?AR) is copied with that name (unless copying not necessary) and is expected to be served from /FOO
anything of form /FOO (with leading slash) is expected to be served from /FOO (and is copied as FOO.WAR)
anything of form FOO (without a dot) is expected to be served from /FOO (and is copied as FOO.WAR)
otherwise please note behaviour may vary on different appservers; e.g. FOO.FOO would probably be ignored on appservers which expect a file copied across (usually), but served as /FOO.FOO on systems that take a deployment context.
 See FileNameToContextMappingTest for definitive examples!
deploy in interface JavaWebAppService.CanDeployAndUndeployurl - where to get the war, as a URL, either classpath://xxx or file:///home/xxx or http(s)...targetName - where to tell the server to serve the WAR, see abovepublic void undeploy(java.lang.String targetName)
JavaWebAppService.CanDeployAndUndeployundeploy in interface JavaWebAppService.CanDeployAndUndeploypublic void redeployAll()
redeployAll in interface JavaWebAppService.CanRedeployAll