Interface AnnotatedServiceConfigurer
- All Known Implementing Classes:
MetricsConfigurer
- 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
ServiceDescriptor.Builder
for an annotated gRPC service class.
Implementations of this class are called by the GrpcServiceBuilder when
it builds a ServiceDescriptor from an annotated class. Instances of
AnnotatedServiceConfigurer are discovered using the
HelidonServiceLoader. This service
loader supports ordering of configurers.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(Class<?> serviceClass, Class<?> annotatedClass, ServiceDescriptor.Builder builder) Apply modifications to aServiceDescriptor.Builder.
-
Method Details
-
accept
Apply modifications to aServiceDescriptor.Builder.- Parameters:
serviceClass- the annotated gRPC service classannotatedClass- the class with theGrpcannotationbuilder- the builder to modify
-