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

Thorsten Hoeger commented on CXF-6126:
--------------------------------------

Hi,
thanks for applying the patch. I like the modifications. Does this still work 
if the @Path annotation is on an interface of the bean and not on the class. I 
usually put all JAX-RS annotations on an interface to separate it from the code.

> 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
>            Assignee: Sergey Beryozkin
>              Labels: spring
>             Fix For: 3.1.0, 3.0.4
>
>         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)

Reply via email to