List of usage examples for com.vaadin.server SessionDestroyEvent getService
public VaadinService getService()
From source file:org.vaadin.tori.ToriApiLoader.java
License:Apache License
@Override public void sessionDestroy(final SessionDestroyEvent event) { if (sessionId != null && sessionId.equals(event.getSession().getSession().getId())) { if (toriActivityMessaging != null) { toriActivityMessaging.deregister(); }/*from ww w . j av a 2 s . c om*/ event.getService().removeSessionDestroyListener(this); } }