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;
{
Client client = ClientBuilder.newClient(configurable);
}
Another option is to allow injection of a ClientBuilder:
@Context ClientBuilder builder;
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com