Package org.vaadin.spring.events

Examples of org.vaadin.spring.events.EventBusListenerMethodFilter.filter()


                EventBusListenerMethodFilter filter = annotation.filter().newInstance();
                EventScope scope = annotation.scope();
                if (scope.equals(EventScope.UNDEFINED)) {
                    scope = event.getScope();
                }
                supports = supports && filter.filter(event.getPayload()) && event.getScope().equals(scope);
            }
        } catch (Exception e) {
            throw new RuntimeException("A checked exception occurred while invoking listener method " + listenerMethod.getName(), e);
        }
        return supports;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.