public class HttpSessionEventPublisher extends Object implements javax.servlet.http.HttpSessionListener
<listener>
<listener-class>org.beangle.commons.web.session.HttpSessionEventPublisher</listener-class>
</listener>
Publishes HttpSessionApplicationEvents to the Bean Root Context.
Maps javax.servlet.http.HttpSessionListener.sessionCreated() to HttpSessionCreationEvent.
Maps javax.servlet.http.HttpSessionListener.sessionDestroyed() to
HttpSessionDestroyedEvent.| Modifier and Type | Field and Description |
|---|---|
protected EventMulticaster |
eventMulticaster |
| Constructor and Description |
|---|
HttpSessionEventPublisher() |
| Modifier and Type | Method and Description |
|---|---|
void |
sessionCreated(javax.servlet.http.HttpSessionEvent event)
Handles the HttpSessionEvent by publishing a
HttpSessionCreationEvent to the
application appContext. |
void |
sessionDestroyed(javax.servlet.http.HttpSessionEvent event)
Handles the HttpSessionEvent by publishing a
HttpSessionDestroyedEvent to the
application appContext. |
protected EventMulticaster eventMulticaster
public void sessionCreated(javax.servlet.http.HttpSessionEvent event)
HttpSessionCreationEvent to the
application appContext.sessionCreated in interface javax.servlet.http.HttpSessionListenerevent - HttpSessionEvent passed in by the containerpublic void sessionDestroyed(javax.servlet.http.HttpSessionEvent event)
HttpSessionDestroyedEvent to the
application appContext.sessionDestroyed in interface javax.servlet.http.HttpSessionListenerevent - The HttpSessionEvent pass in by the containerCopyright © 2005–2018 The Beangle Software. All rights reserved.