HttpSessionEventPublisher

org.beangle.web.servlet.session.HttpSessionEventPublisher
class HttpSessionEventPublisher(em: EventMulticaster) extends HttpSessionListener

Publishes HttpSessionApplicationEvents to the Bean Root Context. Maps jakarta.servlet.http.HttpSessionListener.sessionCreated() to [[HttpSessionCreationEvent]]. Maps jakarta.servlet.http.HttpSessionListener.sessionDestroyed() to [[HttpSessionDestroyedEvent]].

Attributes

Graph
Supertypes
trait HttpSessionListener
trait EventListener
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def sessionCreated(event: HttpSessionEvent): Unit

Handles the HttpSessionEvent by publishing a [[HttpSessionCreationEvent]] to the application appContext.

Handles the HttpSessionEvent by publishing a [[HttpSessionCreationEvent]] to the application appContext.

Value parameters

event

HttpSessionEvent passed in by the container

Attributes

Definition Classes
HttpSessionListener
override def sessionDestroyed(event: HttpSessionEvent): Unit

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

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

Value parameters

event

The HttpSessionEvent pass in by the container

Attributes

Definition Classes
HttpSessionListener