package Ġcom . z up edu . gab riel ped ric o . configs Ċ Ċ import Ġcom . z up edu . gab riel ped ric o . Regist ra Pix Grpc Service Grpc Ċ import Ġio . grpc . Managed Channel Ċ import Ġio . mic ronaut . context . annotation . Factory Ċ import Ġio . mic ronaut . grpc . annotation . Grpc Channel Ċ import Ġjak arta . inject . Singleton Ċ Ċ @ Factory Ċ class ĠKey Manager Grpc Factory Ġ(@ Grpc Channel (" key - manager - grpc ") Ġval Ġchannel : Managed Channel ) Ġ{ ĊĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġfun Ġregist ra Ch ave () Ġ= ĠRegist ra Pix Grpc Service Grpc . new Blocking Stub ( channel ) Ċ }