public class

HttpSessionEventPublisher

extends Object
implements HttpSessionListener
java.lang.Object
   ↳ org.springframework.security.web.session.HttpSessionEventPublisher

Class Overview

Declared in web.xml as

 <listener>
     <listener-class>org.springframework.security.web.session.HttpSessionEventPublisher</listener-class>
 </listener>
 
Publishes HttpSessionApplicationEvents to the Spring Root WebApplicationContext. Maps javax.servlet.http.HttpSessionListener.sessionCreated() to HttpSessionCreatedEvent. Maps javax.servlet.http.HttpSessionListener.sessionDestroyed() to HttpSessionDestroyedEvent.

Summary

Public Constructors
HttpSessionEventPublisher()
Public Methods
void sessionCreated(HttpSessionEvent event)
Handles the HttpSessionEvent by publishing a HttpSessionCreatedEvent to the application appContext.
void sessionDestroyed(HttpSessionEvent event)
Handles the HttpSessionEvent by publishing a HttpSessionDestroyedEvent to the application appContext.
[Expand]
Inherited Methods
From class java.lang.Object
From interface javax.servlet.http.HttpSessionListener

Public Constructors

public HttpSessionEventPublisher ()

Public Methods

public void sessionCreated (HttpSessionEvent event)

Handles the HttpSessionEvent by publishing a HttpSessionCreatedEvent to the application appContext.

Parameters
event HttpSessionEvent passed in by the container

public void sessionDestroyed (HttpSessionEvent event)

Handles the HttpSessionEvent by publishing a HttpSessionDestroyedEvent to the application appContext.

Parameters
event The HttpSessionEvent pass in by the container