com.compilit.mediator.api.EventHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cqers-mediator-api Show documentation
Show all versions of cqers-mediator-api Show documentation
The API for the corresponding CQ(E)RS Mediator Core library
The newest version!
package com.compilit.mediator.api;
/**
* EventHandlers are for all event based action. An event can be the result of Commands or Queries.
*
* @param The Event type this EventHandler can handle.
*/
public interface EventHandler extends RequestHandler {
Void handle(T command);
}