com.opensymphony.webwork.lifecycle
Class SessionLifecycleListenerCompatWeblogic61

java.lang.Object
  extended by com.opensymphony.webwork.lifecycle.SessionLifecycleListener
      extended by com.opensymphony.webwork.lifecycle.SessionLifecycleListenerCompatWeblogic61
All Implemented Interfaces:
Serializable, EventListener, HttpSessionListener

Deprecated. XWork IoC has been deprecated in favor of Spring. Please refer to the Spring-WebWork integration documentation for more info.

public class SessionLifecycleListenerCompatWeblogic61
extends SessionLifecycleListener

Version:
$Id: SessionLifecycleListenerCompatWeblogic61.java 1223 2005-09-21 03:04:58Z plightbo $
Author:
Scott N. Smith scottnelsonsmith@yahoo.com
See Also:
Serialized Form

Constructor Summary
SessionLifecycleListenerCompatWeblogic61()
          Deprecated.  
 
Method Summary
protected  ServletContext getServletContext(HttpSession session)
          Deprecated. This is needed by Weblogic Server 6.1 because it uses a slightly obsolete Servlet 2.3-minus spec.
 
Methods inherited from class com.opensymphony.webwork.lifecycle.SessionLifecycleListener
createComponentManager, sessionCreated, sessionDestroyed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionLifecycleListenerCompatWeblogic61

public SessionLifecycleListenerCompatWeblogic61()
Deprecated. 
Method Detail

getServletContext

protected ServletContext getServletContext(HttpSession session)
Deprecated. 
This is needed by Weblogic Server 6.1 because it uses a slightly obsolete Servlet 2.3-minus spec. In this obsolete spec, the servlet context is not available from the web session object, and so it is retrieved from a special singleton whose sole purpose is to hold the servlet context for this listenter.

Overrides:
getServletContext in class SessionLifecycleListener
Parameters:
session - the HTTP session. Here is it not used.
Returns:
the servlet context
See Also:
ServletContextSingleton, SessionLifecycleListener.getServletContext(javax.servlet.http.HttpSession)

WebWork Project Page