Interface AnnotatedServiceConfigurer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A class that may apply modifications to a
GrpcServiceDescriptor.Builder
for an annotated gRPC service class.
Implementations of this class are called by the GrpcServiceBuilder
when
it builds a GrpcServiceDescriptor
from an annotated class. Instances of
AnnotatedServiceConfigurer
are discovered using the
HelidonServiceLoader
. This service
loader supports ordering of configurers.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(Class<?> serviceClass, Class<?> annotatedClass, GrpcServiceDescriptor.Builder builder) Apply modifications to aGrpcServiceDescriptor.Builder
.
-
Method Details
-
accept
Apply modifications to aGrpcServiceDescriptor.Builder
.- Parameters:
serviceClass
- the annotated gRPC service classannotatedClass
- the class with theGrpc.GrpcService
annotationbuilder
- the builder to modify
-