|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HttpSessionListener
Interface for receiving notification events about HttpSession lifecycle changes.
In order to receive these notification events, the implementation
class must be either declared in the deployment descriptor of the web
application, annotated with WebListener
,
or registered via one of the addListener methods defined on
ServletContext
.
Implementations of this interface are invoked at their
sessionCreated(javax.servlet.http.HttpSessionEvent)
method in the order in which they have been
declared, and at their sessionDestroyed(javax.servlet.http.HttpSessionEvent)
method in reverse
order.
HttpSessionEvent
Method Summary | |
---|---|
void |
sessionCreated(HttpSessionEvent se)
Receives notification that a session has been created. |
void |
sessionDestroyed(HttpSessionEvent se)
Receives notification that a session is about to be invalidated. |
Method Detail |
---|
void sessionCreated(HttpSessionEvent se)
se
- the HttpSessionEvent containing the sessionvoid sessionDestroyed(HttpSessionEvent se)
se
- the HttpSessionEvent containing the session
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41