All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr.fezlight.eventsystem.models.EventHandler Maven / Gradle / Ivy

Go to download

This library is dedicated for Spring Boot application and is an implementation of an event system integrated with RabbitMQ and Spring-Modulith-Events.

The newest version!
package fr.fezlight.eventsystem.models;

import fr.fezlight.eventsystem.annotation.SubscribeEvent;

/**
 * Interface used to implement an event handler.
 *
 * 

- {@link EventHandler#handle(Event)} method will receive the event. *

- {@link EventHandler#getSubscribeEvent()} method needed to retrieve event handler parameters by annotation * * @author FezLight */ public interface EventHandler { void handle(E event); SubscribeEvent getSubscribeEvent(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy