Package org.apache.axis.transport.http
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
sessionCreated
(javax.servlet.http.HttpSessionEvent event) No-op for nowvoid
sessionDestroyed
(javax.servlet.http.HttpSessionEvent event) Called when a session is destroyed by the servlet engine.
-
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 interfacejavax.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 interfacejavax.servlet.http.HttpSessionListener
- Parameters:
event
- the event descriptor passed in by the servlet engine
-