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

org.lognet.springboot.grpc.GRpcService Maven / Gradle / Ivy

package org.lognet.springboot.grpc;

import io.grpc.ServerInterceptor;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.stereotype.Service;

/**
 * Marks the annotated class to be registered as grpc-service bean;
 *
 * @author Furer Alexander
 * @since 0.0.1
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Service
public @interface GRpcService {
  Class[] interceptors() default {};

  boolean applyGlobalInterceptors() default true;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy