com.vaadin.server
Class SessionDestroyEvent

java.lang.Object
  extended by java.util.EventObject
      extended by 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

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SessionDestroyEvent(VaadinService service, VaadinSession session)
          Creates a new event.
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SessionDestroyEvent

public SessionDestroyEvent(VaadinService service,
                           VaadinSession session)
Creates a new event.

Parameters:
service - the Vaadin service from which the even originates
session - the Vaadin service session that is no longer used
Method Detail

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-2011 Vaadin Ltd. All Rights Reserved.