On Feb 19, 2013, at 2:39 PM, Bill Burke <bburke_at_redhat.com> wrote:
> I'm writing a sub-chapter on component registration and came across a problem. Is there any way of leveraging scanning so we can build a Client from scanned components? Would this work server side?
>
> @Context Configurable configurable;
Should the above be Configuration? Configuration can be injected into server side components (providers/resources).
>
> {
> Client client = ClientBuilder.newClient(configurable);
> }
>
> Another option is to allow injection of a ClientBuilder:
>
> @Context ClientBuilder builder;
I was hoping we have closed the client component injection topic with removal of @Uri for the time being.
Marek
>
>
>
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com