Spring Security Framework

org.springframework.security.ui.session
Class HttpSessionApplicationEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by org.springframework.security.ui.session.HttpSessionApplicationEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
HttpSessionCreatedEvent, HttpSessionDestroyedEvent

public abstract class HttpSessionApplicationEvent
extends ApplicationEvent

Parent class for published HttpSession events

Author:
Ray Krueger
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
HttpSessionApplicationEvent(HttpSession httpSession)
          Base constructor for all subclasses must have an HttpSession
 
Method Summary
 HttpSession getSession()
          Get the HttpSession that is the cause of the event
 
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpSessionApplicationEvent

public HttpSessionApplicationEvent(HttpSession httpSession)
Base constructor for all subclasses must have an HttpSession

Parameters:
httpSession - The session to carry as the event source.
Method Detail

getSession

public HttpSession getSession()
Get the HttpSession that is the cause of the event

Returns:
HttpSession instance

Spring Security Framework

Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.