Created
June 2, 2013 08:20
-
-
Save almozavr/5693003 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public List<Class<?>> getEventTypesBySubscriber(Object subscriber) { | |
List<SubscriberMethod> subscriberMethods = subscriberMethodFinder.findSubscriberMethods(subscriber.getClass(), defaultMethodName); | |
List<Class<?>> eventTypes = new ArrayList<Class<?>>(subscriberMethods.size()); | |
for (SubscriberMethod method : subscriberMethods) { | |
eventTypes.add(method.eventType); | |
} | |
return eventTypes; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment