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

Sergey Beryozkin commented on CXF-4649:
---------------------------------------

Hi, I guess introducing some interface the jaxws or jaxrs can work against when 
checking the annotations might be done - but I'm not quite sure yet how it 
might work, can you please type some CDI-annotated code to help to understand 
better what can be done ?

FYI, in JAX-RS it is possible to apply an external model definitions to a given 
class, this is supported in DOSGi, see:
http://cxf.apache.org/docs/jax-rs-advanced-features.html#JAX-RSAdvancedFeatures-RESTfulserviceswithoutannotations

can be done from the code too. Would something like that work in principle in 
your case ?
  
                
> offer a way to provider the annotations to cxf/change annotation parsing
> ------------------------------------------------------------------------
>
>                 Key: CXF-4649
>                 URL: https://issues.apache.org/jira/browse/CXF-4649
>             Project: CXF
>          Issue Type: New Feature
>            Reporter: Romain Manni-Bucau
>
> Would be very nice to be able to answer to questions: does the class has the 
> annotation? and if yes to change the way attributes are read
> What i'm thinking about is for instance use cdi Annotated to create on the 
> fly web services (rest or soap)
> What is needed is to move all the annotation parsing to something which can 
> change (a SPI sounds fine but a global setter on the Util class can work too).
> Wdyt?

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