Package com.vaadin.server
Class SessionDestroyEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.server.SessionDestroyEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class SessionDestroyEvent extends java.util.EventObjectEvent 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
-
-
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 VaadinServicegetService()Gets the Vaadin service from which the even originates.VaadinSessiongetSession()Gets the Vaadin service session that is no longer used.VaadinServicegetSource()
-
-
-
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:
getSourcein classjava.util.EventObject
-
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
-
-