In order to receive these notification events, the implementation class must be either declared in the deployment
descriptor of the web application, annotated with jakarta., or registered via
one of the addListener methods defined on jakarta..
Implementations of this interface are invoked at their sessionCreated method in the order in which they have
been declared, and at their sessionDestroyed method in reverse order.
HttpSessionEvent
| Modifier and Type | Method and Description |
|---|---|
| public default void | sessionCreated(HttpSessionEvent
the HttpSessionEvent containing the session se)Receives notification that a session has been created. |
| public default void | sessionDestroyed(HttpSessionEvent
the HttpSessionEvent containing the session se)Receives notification that a session is about to be invalidated. |
| sessionCreated | back to summary |
|---|---|
| public default void sessionCreated(HttpSessionEvent se) Receives notification that a session has been created. Implementation Specification The default implementation takes no action.
| |
| sessionDestroyed | back to summary |
|---|---|
| public default void sessionDestroyed(HttpSessionEvent se) Receives notification that a session is about to be invalidated. Implementation Specification The default implementation takes no action.
| |