Class AxisHTTPSessionListener

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

    public class AxisHTTPSessionListener
    extends java.lang.Object
    implements javax.servlet.http.HttpSessionListener
    A simple listener for Servlet 2.3 session lifecycle events.
    Author:
    Glen Daniels (gdaniels@apache.org)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static org.apache.commons.logging.Log log  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void sessionCreated​(javax.servlet.http.HttpSessionEvent event)
      No-op for now
      void sessionDestroyed​(javax.servlet.http.HttpSessionEvent event)
      Called when a session is destroyed by the servlet engine.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • log

        protected static org.apache.commons.logging.Log log
    • Constructor Detail

      • AxisHTTPSessionListener

        public AxisHTTPSessionListener()
    • Method Detail

      • sessionCreated

        public void sessionCreated​(javax.servlet.http.HttpSessionEvent event)
        No-op for now
        Specified by:
        sessionCreated in interface javax.servlet.http.HttpSessionListener
      • sessionDestroyed

        public void sessionDestroyed​(javax.servlet.http.HttpSessionEvent event)
        Called when a session is destroyed by the servlet engine. We use the relevant HttpSession to look up an AxisHttpSession, and destroy all the appropriate objects stored therein.
        Specified by:
        sessionDestroyed in interface javax.servlet.http.HttpSessionListener
        Parameters:
        event - the event descriptor passed in by the servlet engine