
com.evento.common.modeling.annotations.component.Invoker 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.component;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* The Invoker annotation serves as a marker for classes that act as invokers in the RECQ component pattern.
* Invokers are responsible for invoking operations or methods in other components within a software system.
* This annotation is used in conjunction with other annotations such as {@link Service}, {@link Projection},
* {@link Saga}, {@link Observer}, {@link Projector}, and {@link Aggregate} to categorize and identify various
* roles or characteristics of classes.
*
*
* Example usage:
*
*
*
* {@code
* @Invoker
* public class MyInvoker {
*
* @InvocationHandler
* public void invokeOperation() {
* // Invoke the operation on the service
* }
* }
* }
*
*
* @see Service
* @see Projection
* @see Saga
* @see Observer
* @see Projector
* @see Aggregate
* @see Invoker in RECQ Component Pattern
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Component
public @interface Invoker {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy