Annotation Type GRpcService


  • @Target(TYPE)
    @Retention(RUNTIME)
    @Documented
    @Service
    public @interface GRpcService
    Marks the annotated class to be registered as grpc-service bean;
    Since:
    0.0.1
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean applyGlobalInterceptors  
      java.lang.Class<? extends io.grpc.ServerInterceptor>[] interceptors  
    • Element Detail

      • interceptors

        java.lang.Class<? extends io.grpc.ServerInterceptor>[] interceptors
        Default:
        {}
      • applyGlobalInterceptors

        boolean applyGlobalInterceptors
        Default:
        true