You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Heath Kesler (JIRA)" <ji...@apache.org> on 2014/01/27 20:46:41 UTC
[jira] [Updated] (CXF-5528) CXF Blueprint resource classes should
have a more simple definition
[ https://issues.apache.org/jira/browse/CXF-5528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Heath Kesler updated CXF-5528:
------------------------------
Attachment: cxf-5528-patch.diff
This is the patch as I see it for implementing the suggestion. I will add the test I used to deploy and verify in Karaf here shortly
> CXF Blueprint resource classes should have a more simple definition
> -------------------------------------------------------------------
>
> Key: CXF-5528
> URL: https://issues.apache.org/jira/browse/CXF-5528
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 2.7.8
> Reporter: Heath Kesler
> Attachments: cxf-5528-patch.diff
>
>
> When defining serviceBeans in the blueprint xml file, we first have to define the bean then reference that bean from the serviceBean definition. It would be nice to have a short cut that allowed us to just define the class name in the rsServer xml. Something like
> <jaxrs:server id="karafStringService" address="/karaf">
> <jaxrs:resourceClasses>
> <class name="com.example.test.cxf.StringRestServiceImpl"/>
> </jaxrs:resourceClasses>
> </jaxrs:server>
> I will be submitting a patch shortly with an associated test. I look forward to feedback.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)