|
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.CacheSessionListener
public class CacheSessionListener
HttpSessionListener which creates a cache for JSP tag body invocations and adds it as a session attribute in response to sessionCreated events, and clears the cache in response to sessionDestroyed events.
Constructor Summary | |
---|---|
CacheSessionListener()
No-arg constructor |
Method Summary | |
---|---|
void |
sessionCreated(HttpSessionEvent hse)
Receives notification that a session was created, and adds newly created cache for JSP tag body invocations as a session attribute. |
void |
sessionDestroyed(HttpSessionEvent hse)
Receives notification that a session is about to be invalidated, and clears the session's cache of JSP tag body invocations (if present). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CacheSessionListener()
Method Detail |
---|
public void sessionCreated(HttpSessionEvent hse)
sessionCreated
in interface HttpSessionListener
hse
- the notification eventpublic void sessionDestroyed(HttpSessionEvent hse)
sessionDestroyed
in interface HttpSessionListener
hse
- 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.