Package io.micronaut.grpc.server.tracing
Class GrpcServerTracingInterceptorFactory
- java.lang.Object
-
- io.micronaut.grpc.server.tracing.GrpcServerTracingInterceptorFactory
-
@Factory public class GrpcServerTracingInterceptorFactory extends java.lang.ObjectFactory that builds the Tracing interceptors.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description GrpcServerTracingInterceptorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected io.grpc.ServerInterceptorserverTracingInterceptor(GrpcServerTracingInterceptorConfiguration configuration)The server interceptor.
-
-
-
Method Detail
-
serverTracingInterceptor
@Requires(beans=GrpcServerTracingInterceptorConfiguration.class) @Singleton @Bean @NonNull protected io.grpc.ServerInterceptor serverTracingInterceptor(@NonNull GrpcServerTracingInterceptorConfiguration configuration)
The server interceptor.- Parameters:
configuration- The configuration- Returns:
- The server interceptor
-
-