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

grpcstarter.server.GrpcService Maven / Gradle / Ivy

package grpcstarter.server;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Component;

/**
 * Mark a gRPC service implementation, an alias for {@link Component}.
 *
 * 

This annotation is optional, can be replaced by any {@link Component} based annotation. * * @author Freeman */ @Target({ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) @Component public @interface GrpcService { /** * @see Component#value() */ @AliasFor(annotation = Component.class) String value() default ""; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy