-
Feature Request
-
Resolution: Won't Do
-
Major
-
None
-
3.0.10.Final
-
User Experience
I would like to take advantage of constructor based dependency injection for my @BeanParam objects, however the following does not work. I'm using guice for dependency injection but I'm fairly confident that CDI also would not work since Bean Parameters require a no-arg constructor in org.jboss.resteasy.core.FormInjector.
class RequestParams { private final ReusableRequestParser parser; private final int id; @Inject RequestParams(final ReusableRequestParser parser, @QueryParam("id") int id) { this.parser = parser; this.id = id; } ... }