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.ApplicationContextAware
public java.util.Collection<GrpcServiceDefinition> findGrpcServices()
GrpcServiceDiscoverer
findGrpcServices
in interface GrpcServiceDiscoverer