Skip to content

EventsHandler

This annotation is useful to mark classes that handle events, such as EquinoxEventsCollector. Its purpose is to improve the readability of the code

Usage

@EventsHandler
public interface TestEventsCollector extends EquinoxEventsCollector<TestEvent, TestApplicationEvent> {

     // your custom implementation

}
@EventsHandler
interface TestEventsCollector : EquinoxEventsCollector<TestEvent, TestApplicationEvent> {

    // your custom implementation

}