com.atlassian.confluence.setup
Class Resin3ContextListener

java.lang.Object
  extended by com.atlassian.confluence.setup.Resin3ContextListener
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener

public class Resin3ContextListener
extends Object
implements javax.servlet.ServletContextListener

listener that checks:

  • whether the user is using resin 3
  • and if so, if they have enabled the resin 3 web.xml (required to make Confluence work under this container)


    Field Summary
    static org.apache.log4j.Category log
               
     
    Constructor Summary
    Resin3ContextListener()
               
     
    Method Summary
     void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
               
     void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
               
    static boolean isPatchRequiredAndMissing(javax.servlet.ServletContext servletContext)
               
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Field Detail

    log

    public static final org.apache.log4j.Category log
    Constructor Detail

    Resin3ContextListener

    public Resin3ContextListener()
    Method Detail

    contextInitialized

    public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
    Specified by:
    contextInitialized in interface javax.servlet.ServletContextListener

    isPatchRequiredAndMissing

    public static boolean isPatchRequiredAndMissing(javax.servlet.ServletContext servletContext)

    contextDestroyed

    public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
    Specified by:
    contextDestroyed in interface javax.servlet.ServletContextListener


    Copyright © 2003-2013 Atlassian. All Rights Reserved.