|
||||||||||
| 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> Publishes
<listener-class>org.acegisecurity.ui.session.HttpSessionEventPublisher</listener-class>
</listener>
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(javax.servlet.ServletContextEvent event)
Not implemented |
void |
contextInitialized(javax.servlet.ServletContextEvent event)
Handled internally by a call to WebApplicationContextUtils.getRequiredWebApplicationContext(javax.servlet.ServletContext) |
void |
sessionCreated(javax.servlet.http.HttpSessionEvent event)
Handles the HttpSessionEvent by publishing a HttpSessionCreatedEvent to the application context. |
void |
sessionDestroyed(javax.servlet.http.HttpSessionEvent event)
Handles the HttpSessionEvent by publishing a HttpSessionDestroyedEvent to the application context. |
| 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(javax.servlet.ServletContextEvent event)
contextDestroyed in interface javax.servlet.ServletContextListenerevent - public void contextInitialized(javax.servlet.ServletContextEvent event)
WebApplicationContextUtils.getRequiredWebApplicationContext(javax.servlet.ServletContext)
contextInitialized in interface javax.servlet.ServletContextListenerevent - the ServletContextEvent passed in by the container,
event.getServletContext() will be used to get the
WebApplicationContextpublic void sessionCreated(javax.servlet.http.HttpSessionEvent event)
HttpSessionCreatedEvent to the application context.
sessionCreated in interface javax.servlet.http.HttpSessionListenerevent - HttpSessionEvent passed in by the containerpublic void sessionDestroyed(javax.servlet.http.HttpSessionEvent event)
HttpSessionDestroyedEvent to the application context.
sessionDestroyed in interface javax.servlet.http.HttpSessionListenerevent - The HttpSessionEvent pass in by the container
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||