Class GRpcServicesRegistry

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

    public class GRpcServicesRegistry
    extends java.lang.Object
    implements org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
    • Constructor Detail

      • GRpcServicesRegistry

        public GRpcServicesRegistry()
    • Method Detail

      • getServiceNameToServiceBeanMap

        public java.util.Map<java.lang.String,​io.grpc.BindableService> getServiceNameToServiceBeanMap()
        Returns:
        service name to grpc service bean
      • getBeanNameToServiceBeanMap

        public java.util.Map<java.lang.String,​io.grpc.BindableService> getBeanNameToServiceBeanMap()
        Returns:
        spring bean name to grpc service bean
      • getMethodDescriptor

        public io.grpc.MethodDescriptor<?,​?> getMethodDescriptor​(java.lang.reflect.Method method)
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws java.lang.Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        java.lang.Exception
      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException