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

com.evento.common.modeling.annotations.component.Service 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;

/**
 * This annotation serves as a marker for classes that are considered RECQ services.
 * RECQ services are used to perform specific tasks or operations within a software system.
 *
 * 

* Example usage: *

* *
 * {@code
 * @Service
 * public class MyService {
 *
 *     @CommandHandler
 *     public void performOperation(OperationServiceCommand command) {
 *         // Perform the operation logic
 *     }
 * }
 * }
 * 
* * @see Service in RECQ Component Patterns */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) @Component public @interface Service { }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy