Package org.vaadin.spring.events

Examples of org.vaadin.spring.events.EventScope


        boolean supports = super.supports(event);
        try {
            if (listenerMethod.isAnnotationPresent(EventBusListenerMethod.class)) {
                EventBusListenerMethod annotation = listenerMethod.getAnnotation(EventBusListenerMethod.class);
                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) {
View Full Code Here

TOP

Related Classes of org.vaadin.spring.events.EventScope

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.