|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.appserv.web.taglibs.cache.CacheRequestListener
public class CacheRequestListener
ServletRequestListener which creates a cache for JSP tag body invocations and adds it as a request attribute in response to requestInitialized events, and clears the cache in response to requestDestroyed events.
Constructor Summary | |
---|---|
CacheRequestListener()
No-arg constructor |
Method Summary | |
---|---|
void |
requestDestroyed(ServletRequestEvent sre)
Receives notification that the request is about to go out of scope of the web application, and clears the request's cache of JSP tag body invocations (if present). |
void |
requestInitialized(ServletRequestEvent sre)
Receives notification that the request is about to enter the scope of the web application, and adds newly created cache for JSP tag body invocations as a request attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CacheRequestListener()
Method Detail |
---|
public void requestInitialized(ServletRequestEvent sre)
requestInitialized
in interface ServletRequestListener
sre
- the notification eventpublic void requestDestroyed(ServletRequestEvent sre)
requestDestroyed
in interface ServletRequestListener
sre
- the notification event
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.