org.apache.struts2.portlet.context
Class ServletContextHolderListener

java.lang.Object
  extended by org.apache.struts2.portlet.context.ServletContextHolderListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener

Deprecated. This listener has been deprecated. Do not use it. (WW-2101)

public class ServletContextHolderListener
extends java.lang.Object
implements javax.servlet.ServletContextListener


Constructor Summary
ServletContextHolderListener()
          Deprecated.  
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent event)
          Deprecated.  
 void contextInitialized(javax.servlet.ServletContextEvent event)
          Deprecated. Stores the reference to the ServletContext.
static javax.servlet.ServletContext getServletContext()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletContextHolderListener

public ServletContextHolderListener()
Deprecated. 
Method Detail

getServletContext

public static javax.servlet.ServletContext getServletContext()
Deprecated. 
Returns:
The current servlet context

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent event)
Deprecated. 
Stores the reference to the ServletContext.

Specified by:
contextInitialized in interface javax.servlet.ServletContextListener
See Also:
ServletContextListener.contextInitialized(javax.servlet.ServletContextEvent)

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent event)
Deprecated. 
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener
See Also:
ServletContextListener.contextDestroyed(javax.servlet.ServletContextEvent)


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.