cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-4649) offer a way to provider the annotations to cxf/change annotation parsing
Date Tue, 11 Dec 2012 13:21:21 GMT

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

Romain Manni-Bucau commented on CXF-4649:
-----------------------------------------

with cdi it would mean re-creating/analyzing everything but can work.

from openejb/tomee point of view it is too much compared to what we have today.

basically for @javax.ejb.Stateless we scan with xbean-finder with the method "findMetaAnnotatedClasses"
and it automatically translate meta annotations to @Stateless then we simply use the scanned
model to get the right information (instead of pure reflection)

you can look this sample for the idea: http://svn.apache.org/repos/asf/openejb/trunk/openejb/examples/movies-complete-meta


about jaxws same note can apply. Currently in OpenEJB/TomEE we cannot support @WS (for instance)
instead of @WebService because then cxf doesn't support it well - or we need to rewrite the
whole model which was not the idea
                
> 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

Mime
View raw message