|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.acegisecurity.ui.session.HttpSessionEventPublisher
public class HttpSessionEventPublisher
Declared in web.xml as
<listener> <listener-class>org.acegisecurity.ui.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.
| Constructor Summary | |
|---|---|
HttpSessionEventPublisher()
|
|
| Method Summary | |
|---|---|
void |
contextDestroyed(ServletContextEvent event)
Not implemented |
void |
contextInitialized(ServletContextEvent event)
Handled internally by a call to WebApplicationContextUtils.getWebApplicationContext(javax.servlet.ServletContext). |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpSessionEventPublisher()
| Method Detail |
|---|
public void contextDestroyed(ServletContextEvent event)
contextDestroyed in interface ServletContextListenerevent - public void contextInitialized(ServletContextEvent event)
WebApplicationContextUtils.getWebApplicationContext(javax.servlet.ServletContext).
contextInitialized in interface ServletContextListenerevent - the ServletContextEvent passed in by the container, event.getServletContext() will be used to get
the WebApplicationContextpublic void sessionCreated(HttpSessionEvent event)
HttpSessionCreatedEvent to the application
appContext.
sessionCreated in interface HttpSessionListenerevent - HttpSessionEvent passed in by the containerpublic void sessionDestroyed(HttpSessionEvent event)
HttpSessionDestroyedEvent to the application
appContext.
sessionDestroyed in interface HttpSessionListenerevent - The HttpSessionEvent pass in by the container
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||