andymc12 commented on issue #619: CXF-8188: Inject into ClientHeadersFactory
URL: https://github.com/apache/cxf/pull/619#issuecomment-571243451
 
 
   @reta I think CDI is already managing the proxy instances.  The extension 
manages the creation of the proxy (it has to provide additional config via the 
MP annotations, like `@RegisterProvider`, `@RegisterClientHeaders`, etc.), but 
once it is created, then it turns the proxy over to CDI to manage.
   
   The problem with the ClientHeadersFactory instance is that it is associated 
with the client interface proxy by annotation, not injected.  The other problem 
is that we want the ClientHeadersFactory to be injected with any JAX-RS 
contextual info too.  
   
   Does that makes sense?  Thanks again for your review!
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to