Class GrpcClientCdiExtension
- java.lang.Object
- 
- io.helidon.microprofile.grpc.client.GrpcClientCdiExtension
 
- 
- 
Constructor SummaryConstructors Constructor Description GrpcClientCdiExtension()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterBean(AfterBeanDiscovery event, BeanManager beanManager)Process the previously capturedGrpcProxyinjection points.<T,X>
 voidgatherApplications(ProcessInjectionPoint<T,X> pip)Process injection points.
 
- 
- 
- 
Method Detail- 
gatherApplicationspublic <T,X> void gatherApplications(@Observes ProcessInjectionPoint<T,X> pip) Process injection points.In this method all of the injection points that have the GrpcProxyare processed and their types are stored so that in theafterBean(AfterBeanDiscovery, BeanManager)we can manually create a producer for the correct service proxy type.- Type Parameters:
- X- the declared type of the injection point.
- T- the bean class of the bean that declares the injection point
- Parameters:
- pip- the injection point
 
 - 
afterBeanpublic void afterBean(@Observes AfterBeanDiscovery event, BeanManager beanManager) Process the previously capturedGrpcProxyinjection points.For each GrpcProxyinjection point we create a producer bean for the required type.- Parameters:
- event- the- AfterBeanDiscoveryevent
- beanManager- the CDI bean manager
 
 
- 
 
-