Package com.vaadin.server
Class SessionDestroyEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.server.SessionDestroyEvent
-
- All Implemented Interfaces:
Serializable
public class SessionDestroyEvent extends EventObject
Event fired when a Vaadin service session is no longer in use.- Since:
- 7.0.0
- Author:
- Vaadin Ltd
- See Also:
SessionDestroyListener.sessionDestroy(SessionDestroyEvent)
, Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description SessionDestroyEvent(VaadinService service, VaadinSession session)
Creates a new event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VaadinService
getService()
Gets the Vaadin service from which the even originates.VaadinSession
getSession()
Gets the Vaadin service session that is no longer used.VaadinService
getSource()
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Constructor Detail
-
SessionDestroyEvent
public SessionDestroyEvent(VaadinService service, VaadinSession session)
Creates a new event.- Parameters:
service
- the Vaadin service from which the even originatessession
- the Vaadin service session that is no longer used
-
-
Method Detail
-
getSource
public VaadinService getSource()
- Overrides:
getSource
in classEventObject
-
getService
public VaadinService getService()
Gets the Vaadin service from which the even originates.- Returns:
- the Vaadin service
-
getSession
public VaadinSession getSession()
Gets the Vaadin service session that is no longer used.- Returns:
- the Vaadin service session
-
-