You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2009/06/08 16:46:07 UTC
[jira] Created: (CXF-2268) Collapse Atom Feed and Entry providers
and support Atom reflectively
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.
[jira] Commented: (CXF-2268) Collapse Atom Feed and Entry providers
and support Atom reflectively
Posted by "Sergey Beryozkin (JIRA)" <ji...@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<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.
[jira] Commented: (CXF-2268) Collapse Atom Feed and Entry providers
and support Atom reflectively
Posted by "Yogish Shenoy (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Resolved: (CXF-2268) Collapse Atom Feed and Entry providers
and support Atom reflectively
Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
[ 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.