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