public class AnnotationGrpcServiceDiscoverer extends Object implements ApplicationContextAware, GrpcServiceDiscoverer
GrpcServiceDiscoverer that searches for beans with the GrpcService annotations.| Constructor and Description |
|---|
AnnotationGrpcServiceDiscoverer() |
| Modifier and Type | Method and Description |
|---|---|
Collection<GrpcServiceDefinition> |
findGrpcServices()
Find the grpc services that should provided by the server.
|
void |
setApplicationContext(ApplicationContext applicationContext) |
public void setApplicationContext(ApplicationContext applicationContext)
setApplicationContext in interface ApplicationContextAwarepublic Collection<GrpcServiceDefinition> findGrpcServices()
GrpcServiceDiscovererfindGrpcServices in interface GrpcServiceDiscoverer