cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-2268) Collapse Atom Feed and Entry providers and support Atom reflectively
Date Mon, 08 Jun 2009 14:48:07 GMT

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

Sergey Beryozkin commented on CXF-2268:
---------------------------------------

Also, consider using a 'provided' scope for Abdera

> Collapse Atom Feed and Entry providers and support Atom reflectively
> --------------------------------------------------------------------
>
>                 Key: CXF-2268
>                 URL: https://issues.apache.org/jira/browse/CXF-2268
>             Project: CXF
>          Issue Type: Improvement
>          Components: REST
>    Affects Versions: 2.3
>            Reporter: Sergey Beryozkin
>            Priority: Minor
>
> it should be possible to serialize a given wrapper collection like customers without
users haveing to explicitly deal with Abdera, for example :
> @Path("/")
> public class SomeService {
>  @GET
>  @Produces("application/atom+feed")
>  public Customers getCustomers() {}
> }
> public class Customers {
>   private List<Customer> customers;
> }
> Atom provider would introspect Customers for top level feed properties and every Customer
for individual entry properties. It would check for well known properties, like getId(), etc,
and will default to some reasonable values when needed. Atom provider should also accept class-specific
out-of-band atom properties (beans) which can customize the serialization as needed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message