PAJES 2.3.9

org.pajes.servlet
Class PajesContextListener

java.lang.Object
  extended byorg.pajes.servlet.PajesContextListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener
Direct Known Subclasses:
AccessPermission, ConnectionManager, PajesContext

public abstract class PajesContextListener
extends java.lang.Object
implements javax.servlet.ServletContextListener

PAJES implementation of javax.servlet.ServletContextListener that correctly initalises the PAJES servlet framework environment.


Constructor Summary
PajesContextListener()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent sce)
          Notification that the servlet context is about to be shut down.
 void contextInitialized(javax.servlet.ServletContextEvent sce)
          Notification that the web application is ready to process requests.
protected static javax.servlet.ServletContext getContext(javax.servlet.ServletContextEvent sce)
          Extracts the ServletContext from the specified ServletContextEvent.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PajesContextListener

public PajesContextListener()
Method Detail

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent sce)
Notification that the servlet context is about to be shut down.

The default implementation does nothing.

Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener
Parameters:
sce - the event class for notifications about changes to the servlet context of a web application.

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent sce)
Notification that the web application is ready to process requests.

The default implementation does nothing.

Specified by:
contextInitialized in interface javax.servlet.ServletContextListener
Parameters:
sce - the event class for notifications about changes to the servlet context of a web application.

getContext

protected static javax.servlet.ServletContext getContext(javax.servlet.ServletContextEvent sce)
Extracts the ServletContext from the specified ServletContextEvent.

Parameters:
sce - the event class for notifications about changes to the servlet context of a web application.
Returns:
The context value

PAJES 2.3.9

Copyright © 2002-2003 Viridian Pty Limited. All Rights Reserved.