You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2014/12/01 22:20:13 UTC

[jira] [Commented] (CXF-6126) Search serviceBeans by given annotation

    [ https://issues.apache.org/jira/browse/CXF-6126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14230482#comment-14230482 ] 

Sergey Beryozkin commented on CXF-6126:
---------------------------------------

Hi Thorsten 
Is the idea to restrict the selection between multiple available root resources ? 
Note we have a "basePackages" property which can be used to select the root resources and providers.

Cheers, Sergey
 

> Search serviceBeans by given annotation
> ---------------------------------------
>
>                 Key: CXF-6126
>                 URL: https://issues.apache.org/jira/browse/CXF-6126
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS
>    Affects Versions: 3.0.2
>         Environment: Spring
>            Reporter: Thorsten Hoeger
>              Labels: spring
>         Attachments: serviceAnnotation.patch
>
>
> It would be cool, to be able to specify an annotation in jaxrs xml and JAXRSServerFactoryBeanDefinitionParser scans the Spring context for all beans with this annotation and adds them as service beans.
> Simple patch  with proof of concept will be attached



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)