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

Jason Pell commented on CXF-4719:
---------------------------------

It might make sense to not actually use spring bean annotations support here, 
because then these Cxf Endpoint and Client annotations could be used without 
spring as well.

So just like CXF does for annotations defined on Service Interfaces (such as 
@Policy and @SchemaValidation), we would define our own annotations for 
@Endpoint and for completeness @Client.

Now the difference I think is that currently the annotations that CXF processes 
are discovered because the relevant classes are already referenced by a 
jaxws:endpoint or jaxws:client.  So unless it exists already (and hopefully 
much more experienced CXF developers will weigh in here), we would need to 
implement some semblance of the annotation scanning stuff that Spring already 
does, or alternately bite the bullet and only support this stuff when using 
spring (again much more experienced devs can weigh in here)



                
> Annotation for web service endpoint
> -----------------------------------
>
>                 Key: CXF-4719
>                 URL: https://issues.apache.org/jira/browse/CXF-4719
>             Project: CXF
>          Issue Type: Improvement
>            Reporter: Torben Vesterager
>
> CXF is the only thing I'm using that still needs a spring configuration XML.
> All other components are configurable via annotations.

--
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

Reply via email to