|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectRepository.EventHandler
Listen ServletContext and SercletRequest events.
Changes:
alexis.grandemange@pagebox.net
Copyright (c) 2002-2004 Alexis Grandemange
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; version 2.1 of the License. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. A copy of the GNU Lesser General Public License lesser.txt should be included in the distribution.
Field Summary | |
(package private) static boolean |
isRequestListener
Set to false with Servlet 2.3 (ServletRequestListener not supported) |
Constructor Summary | |
EventHandler()
|
Method Summary | |
void |
contextDestroyed(ServletContextEvent sce)
ServletContextListener method called when the application is unloaded. |
void |
contextInitialized(ServletContextEvent sce)
ServletContextListener method called when the application is loaded. |
void |
requestDestroyed(ServletRequestEvent sce)
ServletRequestListener called when a request leaves the application. |
void |
requestInitialized(ServletRequestEvent sce)
ServletRequestListener called when a request enters the application. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static boolean isRequestListener
Constructor Detail |
public EventHandler()
Method Detail |
public void contextInitialized(ServletContextEvent sce)
javax.servlet.ServletContextListener#contextInitialized(ServletContextEvent)
public void contextDestroyed(ServletContextEvent sce)
javax.servlet.ServletContextListener#contextDestroyed(ServletContextEvent)
public void requestInitialized(ServletRequestEvent sce)
javax.servlet.ServletRequestListener#requestInitialized(ServletRequestEvent)
public void requestDestroyed(ServletRequestEvent sce)
javax.servlet.ServletRequestListener#requestDestroyed(ServletRequestEvent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |