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.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
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.util.EventObject |
toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
getSource
public VaadinService getSource()
- Overrides:
getSource
in class java.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
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.