As part of an experiment, I am trying to integrate Jersey and Guice, but
in a standalone Java SE application using Grizzly, rather than in a
webapp. The question becomes, how does one tell Jersey about the
GuiceComponentProviderFactory class from jersey-guice? The
documentation on this ResourceConfig property is that the value must be
a Java *class* that implements IoCComponentProviderFactory ... but what
I need to pass is an *instance* of this class (there is no no-args
constructor ... you have to pass in the ResourceConfig and the Guice
injector).
How do I get this thing configured in a Java SE standalone scenario?
Craig