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
This commit is contained in:
Jon Cox
2006-11-24 19:46:26 +00:00
parent ad0786a227
commit 0f6efbd751

View File

@@ -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)
{