[
https://issues.apache.org/jira/browse/CXF-5140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Beryozkin resolved CXF-5140.
-----------------------------------
Resolution: Won't Fix
This is impossible to implement correctly. The actual issue is caused by the
fact that the proxy passes TypeVariable as is to the provider which confuses
it, another JIRA will be created shortly
> Support typed JAXRS proxies
> ----------------------------
>
> Key: CXF-5140
> URL: https://issues.apache.org/jira/browse/CXF-5140
> Project: CXF
> Issue Type: Improvement
> Components: JAX-RS
> Reporter: Sergey Beryozkin
> Assignee: Sergey Beryozkin
> Fix For: 3.0.0, 2.7.7
>
>
> if we have
> {code:java}
> public interface Service<T> {
> T get();
> }
> {code}
> Then we should be able to have
> {code:java}
> Service<Book> service = JAXRSClientFactory.create(address, new
> GenericType<Service<Book>>());
> service.get();
> {code}
> This will allow the proxy pass on the correct type info to the providers
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira