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

com.evento.common.modeling.annotations.component.Invoker Maven / Gradle / Ivy

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