Class TestHttpSessionListenerWithWebappClasses

  • All Implemented Interfaces:
    java.util.EventListener, javax.servlet.http.HttpSessionListener

    public class TestHttpSessionListenerWithWebappClasses
    extends TestHttpSessionListener
    TestHttpSessionListenerWithWebappClasses A session listener class that checks that sessionDestroyed events can reference classes known only to the webapp, ie that the calling thread has been correctly annointed with the webapp loader.
    • Constructor Detail

      • TestHttpSessionListenerWithWebappClasses

        public TestHttpSessionListenerWithWebappClasses()
      • TestHttpSessionListenerWithWebappClasses

        public TestHttpSessionListenerWithWebappClasses​(boolean access)
    • Method Detail

      • sessionDestroyed

        public void sessionDestroyed​(javax.servlet.http.HttpSessionEvent se)
        Specified by:
        sessionDestroyed in interface javax.servlet.http.HttpSessionListener
        Overrides:
        sessionDestroyed in class TestHttpSessionListener