Package me.wouterkistemaker.eventmanager
Interface EventListener
public interface EventListener
Represents an interface that is used to indicate
whether a class contains methods that
listen for the calls of an
Event
-
Method Summary
Modifier and TypeMethodDescriptiondefault Collection<HandlerReference>
Iterates through all methods declared within this class, then returns a collection containing references to all valid event handlers within this class.
-
Method Details
-
getHandlerReferences
Iterates through all methods declared within this class, then returns a collection containing references to all valid event handlers within this class. Modify at your own risk.- Returns:
- A collection of valid handler references within this class
- Since:
- 1.1
-