
com.evento.common.modeling.annotations.handler.CommandHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of evento-common Show documentation
Show all versions of evento-common Show documentation
Common Library of Object and Algorithms for Evento Framework
The newest version!
package com.evento.common.modeling.annotations.handler;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* The CommandHandler annotation is used to mark a method as a command handler.
* Command handlers are methods that handle specific commands in a class.
* They are discovered and executed by the CommandGateway.
*
* @see com.evento.common.modeling.annotations.component.Service
* @see AggregateCommandHandler
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Handler
public @interface CommandHandler {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy