You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What's the rationale for requiring @DWProvider? Could AutoWiredService not just search for classes annotated with @javax.ws.rs.ext.Provider and/or of type com.sun.jersey.spi.inject.InjectableProvider, and avoid the need for custom annotations?
(I'm not sure if you'd need to scan for both: as far as I can tell, Jersey doesn't require you to annotate your InjectableProvider with @Provider, but doing so seems to be common practice - I'm possibly missing something, though.)
Thanks,
Rowan
The text was updated successfully, but these errors were encountered:
Hi,
Second of my two possibly stupid questions, here.
What's the rationale for requiring
@DWProvider
? CouldAutoWiredService
not just search for classes annotated with@javax.ws.rs.ext.Provider
and/or of typecom.sun.jersey.spi.inject.InjectableProvider
, and avoid the need for custom annotations?(I'm not sure if you'd need to scan for both: as far as I can tell, Jersey doesn't require you to annotate your
InjectableProvider
with@Provider
, but doing so seems to be common practice - I'm possibly missing something, though.)Thanks,
Rowan
The text was updated successfully, but these errors were encountered: