[
https://issues.apache.org/jira/browse/CXF-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Beryozkin resolved CXF-1006.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.2.1
> Support root resource class constructors with annotated parameters.
> -------------------------------------------------------------------
>
> Key: CXF-1006
> URL: https://issues.apache.org/jira/browse/CXF-1006
> Project: CXF
> Issue Type: Sub-task
> Components: REST
> Affects Versions: 2.1
> Reporter: Jervis Liu
> Assignee: Sergey Beryozkin
> Fix For: 2.2.1
>
>
> Root resource classes are instantiated by the JAX-RS runtime and MUST have a
> constructor with one of the following annotations on every parameter:
> @HttpContext, @HeaderParam, @MatrixParam, @QueryParam or @UriParam. Note that
> a zero argument constructor is permissible under this rule. Section 2.4.1
> defines the parameter types permitted for each annotation. If more than one
> constructor that matches the above pattern is available then an
> implementation MUST use the one with the most parameters. Choosing amongst
> constructors with the same number of parameters is implementation specific.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.