cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessio Soldano <>
Subject Re: Setting databindings through annotations
Date Tue, 13 Oct 2009 14:03:11 GMT
Oh, cool, I missed that. The @DataBinding you already did is actually 
what I was thinking about.

Daniel Kulp wrote:
> Kind of already done.  :-)
> On trunk and 2.2.4, we have a @DataBinding annotation that takes the Class of 
> the databinding.    Doesn't really allow configuration though due to 
> limitations for annotations.   :-(     It does allow a "ref" attribute that 
> can point to a bean name in the spring config instead though.
> The other thing is the wsdl2java tool now outputs that annotations -db 
> xmlbeans and -db sdo.   Thus, the generated code works correctly now without 
> config.
> Dan
> On Tue October 13 2009 4:31:21 am Alessio Soldano wrote:
>> Hi there,
>> we're currently looking at ways for programmatically configuring the
>> databinding (Aegis for instance) different from the default JAXB one
>> (thus without setting it in the cxf.xml config file).
>> Jim already took a look at this and we are thinking about contributing
>> something for allowing the databinding to be specified using annotations
>> (unless there's already something equivalent for doing this).
>> What do you think about this?
>> I'd see different approaches here, either using the already existing
>> @Feature or adding new annotation.
>> Cheers
>> Alessio

Alessio Soldano
Web Service Lead, JBoss

View raw message