Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 39253 invoked from network); 8 Jun 2009 14:48:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jun 2009 14:48:20 -0000 Received: (qmail 77327 invoked by uid 500); 8 Jun 2009 14:48:32 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 77302 invoked by uid 500); 8 Jun 2009 14:48:31 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 77292 invoked by uid 99); 8 Jun 2009 14:48:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2009 14:48:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2009 14:48:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 87620234C004 for ; Mon, 8 Jun 2009 07:48:07 -0700 (PDT) Message-ID: <176494099.1244472487540.JavaMail.jira@brutus> Date: Mon, 8 Jun 2009 07:48:07 -0700 (PDT) From: "Sergey Beryozkin (JIRA)" To: issues@cxf.apache.org Subject: [jira] Commented: (CXF-2268) Collapse Atom Feed and Entry providers and support Atom reflectively In-Reply-To: <453061033.1244472367514.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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 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.