|
From: Arne L. (JIRA) <no...@at...> - 2007-12-03 14:18:22
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28206 ]
Arne Limburg commented on RCP-499:
----------------------------------
The Object is needed for the get- and setPropertyValue-methods. The property-type-determination works without objects, even for (Java-5-)Collections. The underlying MemberPropertyAccessor can take a class or interface in its proteced Constructor. Either way the actual property-access must be implemented.
> Provide a ClassPropertyAccessStrategy
> -------------------------------------
>
> Key: RCP-499
> URL: http://opensource.atlassian.com/projects/spring/browse/RCP-499
> Project: Spring Framework Rich Client Project
> Issue Type: New Feature
> Components: Binding System
> Reporter: Arne Limburg
> Assignee: Jan Hoskens
> Attachments: ClassPropertyAccessStrategy.patch, ClassPropertyAccessStrategy.patch
>
>
> You discussed the creation of a ClassPropertyAccessStrategy some month ago. My implementation can detect property-types based on provided classes or interfaces even if some object in the property path is null. It can detect collection types if Java 5 Generics are available. Field-access can optionally switched on or off. Within this patch I have abstracted out an AbstractPropertyAccessStrategy. This base-class for BeanPropertyAccessStrategy and ClassPropertyAccessStrategy can easily to be used to implement further PropertyAccessStrategy.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|