Package org.fenrir.yggdrasil.core.event.annotation

Examples of org.fenrir.yggdrasil.core.event.annotation.EventMethod


        RegistryEntry entry = registry.get(listenerInterface);
        if(entry==null){
            entry = new RegistryEntry();
            Method[] interfaceMethods = listenerInterface.getDeclaredMethods();
            for(Method method:interfaceMethods){
                EventMethod annotation = method.getAnnotation(EventMethod.class);
                if(annotation!=null){
                    String eventName = annotation.eventName();
                    entry.putEventMethod(eventName, method);
                }
                else if(entry.getEventMethod()==null){
                    entry.putEventMethod(method);
                }
View Full Code Here

TOP

Related Classes of org.fenrir.yggdrasil.core.event.annotation.EventMethod

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.