クラス GrpcClientFactory

java.lang.ObjectSE
org.springframework.grpc.client.GrpcClientFactory
実装済みのインターフェース一覧:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class GrpcClientFactory extends ObjectSE implements org.springframework.context.ApplicationContextAware
アプリケーションコンテキスト内で Bean としてクライアントスタブを作成するために使用できる gRPC クライアントのファクトリ。
作成者:
Dave Syer
  • コンストラクターの詳細

    • GrpcClientFactory

      public GrpcClientFactory()
  • 方法の詳細

    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      次で指定:
      インターフェース org.springframework.context.ApplicationContextAware 内の setApplicationContext 
      例外:
      org.springframework.beans.BeansException
    • getClient

      public <T> T getClient(StringSE target, ClassSE<T> type, ClassSE<?> factory)
    • findStubFactoryTypes

      public static HashSetSE<ClassSE<?>> findStubFactoryTypes(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
    • register

      public static void register(org.springframework.beans.factory.support.BeanDefinitionRegistry registry, GrpcClientFactory.GrpcClientRegistrationSpec spec)