Package civitas.celestis.event
Interface Listener
- All Known Implementing Classes:
ApplicationStartedListener,ApplicationStoppingListener,NotificationListener
public interface Listener
A marker interface which marks an object as an event handler.
Methods marked with the
EventHandler annotation will be treated as
event handler methods.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault Collection<HandlerReference>Searches through all declared methods of this event listener, collects all valid event handlers, then returns the collection of references to the event handlers.
-
Method Details
-
getHandlerReferences
Searches through all declared methods of this event listener, collects all valid event handlers, then returns the collection of references to the event handlers.Modify this method at your own risk.
- Returns:
- A collection containing references to every valid handler method of this class
-