Package com.vaadin.server

Examples of com.vaadin.server.SessionDestroyListener


                BeanStore beanStore = session.getAttribute(BeanStore.class);
                if (beanStore == null) {
                    beanStore = new BeanStore("session " + session.getSession().getId());
                    session.setAttribute(BeanStore.class, beanStore);
                    final BeanStore theBeanStore = beanStore;
                    session.getService().addSessionDestroyListener(new SessionDestroyListener() {
                        @Override
                        public void sessionDestroy(SessionDestroyEvent event) {
                            theBeanStore.destroy();
                            event.getService().removeSessionDestroyListener(this);
                        }
View Full Code Here

TOP

Related Classes of com.vaadin.server.SessionDestroyListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.