public class SessionEventHttpSessionListenerAdapter extends Object implements org.springframework.context.ApplicationListener<AbstractSessionEvent>, org.springframework.web.context.ServletContextAware
SessionDestroyedEvent and SessionCreatedEvent and translates
them into HttpSessionEvent and submits the HttpSessionEvent to every
registered HttpSessionListener.| Constructor and Description |
|---|
SessionEventHttpSessionListenerAdapter(List<HttpSessionListener> listeners) |
| Modifier and Type | Method and Description |
|---|---|
void |
onApplicationEvent(AbstractSessionEvent event) |
void |
setServletContext(ServletContext servletContext) |
public SessionEventHttpSessionListenerAdapter(List<HttpSessionListener> listeners)
public void onApplicationEvent(AbstractSessionEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<AbstractSessionEvent>public void setServletContext(ServletContext servletContext)
setServletContext in interface org.springframework.web.context.ServletContextAware