title: Dependency injection does not work in RestClientBuilderListener
body: <p>I followed the rest client guide in Quarkus web site. It works fine. But when registering a global provider using the ServiceLoader pattern, as described in the specification, the CDI beans injection did not work, they are all null. I downloaded the example and simply added the following classes:</p>
  
  <pre><code>package org.acme.rest.client;
  
  import org.eclipse.microprofile.rest.client.ext.ResponseExceptionMapper;
  
  import javax.enterprise.context.ApplicationScoped;
  import javax.ws.rs.core.Response;
  
  @ApplicationScoped
  public class MyExceptionMapper implements ResponseExceptionMapper&lt;Exception&gt; {
  
      @Override
      public Exception toThrowable (Response response) {
          return new Exception();
      }
  }
  </code></pre>
  
  <pre><code>package org.acme.rest.client;
  
  import org.eclipse.microprofile.rest.client.RestClientBuilder;
  import org.eclipse.microprofile.rest.client.spi.RestClientBuilderListener;
  
  import javax.enterprise.context.ApplicationScoped;
  import javax.inject.Inject;
  
  @ApplicationScoped
  public class MyListener implements RestClientBuilderListener {
  
      @Inject MyExceptionMapper myExceptionMapper;
  
      @Override
      public void onNewBuilder (RestClientBuilder builder) {
          builder.register(myExceptionMapper);
      }
  }
  </code></pre>
  
  <p>I also added the file META-INF/services/org.eclipse.microprofile.rest.client.spi.RestClientBuilderListener with the content org.acme.rest.client.MyListener. The MyListener onNewBuilder method is invoked, but the injected provider MyExceptionMapper is null. How to register a global provider in Quarkus client?</p>