|
From: Jan H. (JIRA) <no...@at...> - 2007-12-03 10:06:20
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28201 ]
Jan Hoskens commented on RCP-499:
---------------------------------
I noticed that there's still the need to provide an object in the constructor of the ClassPropertyAccessStrategy. It should however be possible to provide only a class/interface instead of an instance. I'll see if I can fix this (will take some time).
> 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
|