[
https://issues.apache.org/jira/browse/CXF-2268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Beryozkin resolved CXF-2268.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.3
Assignee: Sergey Beryozkin
Documentation to follow
> 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: JAX-RS
> Affects Versions: 2.3
> Reporter: Sergey Beryozkin
> Assignee: Sergey Beryozkin
> Priority: Minor
> Fix For: 2.3
>
>
> 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.