cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yogish Shenoy (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-2268) Collapse Atom Feed and Entry providers and support Atom reflectively
Date Thu, 06 Aug 2009 17:34:14 GMT

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

Yogish Shenoy commented on CXF-2268:
------------------------------------

This would be a really cool feature to have

> 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