package Ġbr . com . z up . client Ċ Ċ import Ġbr . com . z up . Key Manager Register GRPC Service Grpc Ċ import Ġio . grpc . Managed Channel Ċ import Ġio . mic ronaut . context . annotation . Factory Ċ import Ġio . mic ronaut . grpc . annotation . Grpc Channel Ċ import Ġjavax . inject . Singleton Ċ Ċ @ Factory Ċ class ĠGr pc Client Register Factory Ġ{ ĊĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġfun Ġkey Manager RestClient Stub (@ Grpc Channel (" key manager ") Ġchannel : ĠManaged Channel ): ĠKey Manager Register GRPC Service Grpc . Key Manager Register GRPC Service Blocking Stub ? { ĊĠĠĠĠĠĠĠ Ġreturn ĠKey Manager Register GRPC Service Grpc . new Blocking Stub ( channel ) ĊĠĠĠ Ġ} Ċ }