From 0f6efbd7515aacf08deb8ab4c2325a9bfaed5599 Mon Sep 17 00:00:00 2001 From: Jon Cox Date: Fri, 24 Nov 2006 19:46:26 +0000 Subject: [PATCH] Removed residual commented-out code from ContextListener that harkened back to the pre-spring MBean implementation. Also added some svn:ignore properties for the mbean/build dir. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4442 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../org/alfresco/web/app/ContextListener.java | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/source/java/org/alfresco/web/app/ContextListener.java b/source/java/org/alfresco/web/app/ContextListener.java index 45d2318b95..9964a78172 100644 --- a/source/java/org/alfresco/web/app/ContextListener.java +++ b/source/java/org/alfresco/web/app/ContextListener.java @@ -47,15 +47,6 @@ import org.springframework.web.context.WebApplicationContext; import org.springframework.web.context.support.WebApplicationContextUtils; -// Alfresco virtualization server registry -// -// Note: This MBean class includes "Alfresco..." in the class name -// in order to make it easier to find in listing of all MBeans -// within servlet container. -// -// import org.alfresco.mbeans.VirtServerRegistry; - - /** * ServletContextListener implementation that initialises the application. * @@ -68,7 +59,6 @@ public class ContextListener implements ServletContextListener, HttpSessionListe private static Log logger = LogFactory.getLog(ContextListener.class); private ServletContext servletContext; - // private VirtServerRegistry virtServerRegistryMBean; /** * @see javax.servlet.ServletContextListener#contextInitialized(javax.servlet.ServletContextEvent) @@ -126,17 +116,6 @@ public class ContextListener implements ServletContextListener, HttpSessionListe // commit the transaction tx.commit(); - - // Create MBean to register attached virtualization servers. - // This MBean is used to notify virtualzation servers - // of changes within the WEB-INF dir of the webapps - // being virtualized (so that reloading can take place). - // - // Note: The VirtServerRegistry constructor registers the - // VirtServerRegistryMBean into the MBean server, - // so all that's required here is to create an instance. - // - // virtServerRegistryMBean = new VirtServerRegistry(); } catch (Throwable e) {