From a06d45dc8e35e1a348ab1e56c3df7a1f6ed29d5d Mon Sep 17 00:00:00 2001 From: Jon Cox Date: Thu, 8 Feb 2007 05:39:04 +0000 Subject: [PATCH] Made names of JMX operations reflect the current limitations within the webapp. Currently, we don't support either updating a single-webapp, or removing a single-webapp because the GUI cannot invite someone to only one webapp within a project. Therefore, the JMX calls are "updateAllVirtualWebapps" and "removeAllVirtualWebapps", rather than implying we're more fine-grained that we actually are. The case of removal would be particularly misleading because if you thought you could just get rid of single webapp, you'd be sadly mistaken. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5072 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- source/java/org/alfresco/web/bean/wcm/AVMConstants.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/java/org/alfresco/web/bean/wcm/AVMConstants.java b/source/java/org/alfresco/web/bean/wcm/AVMConstants.java index f8719f2e67..00d1c754c8 100644 --- a/source/java/org/alfresco/web/bean/wcm/AVMConstants.java +++ b/source/java/org/alfresco/web/bean/wcm/AVMConstants.java @@ -676,7 +676,7 @@ public final class AVMConstants { path = path.substring(0, webappIndex); } - vServerRegistry.webappUpdated(-1, path, true); + vServerRegistry.updateAllWebapps(-1, path, true); } } @@ -699,7 +699,7 @@ public final class AVMConstants { path = path.substring(0, webappIndex); } - vServerRegistry.webappRemoved(-1, path, true); + vServerRegistry.removeAllWebapps(-1, path, true); } }