Class AxisHTTPSessionListener

java.lang.Object
org.apache.axis.transport.http.AxisHTTPSessionListener
All Implemented Interfaces:
EventListener, javax.servlet.http.HttpSessionListener

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

    • log

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

    • AxisHTTPSessionListener

      public AxisHTTPSessionListener()
  • Method Details

    • 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