I like the Fluent API style of setting values (ie, setters returning a
value to allow chaining). And I like Spring. Putting the two together
seems like a good idea.
To this end, I now have a customized version of
org.springframework.beans.BeanWrapperImpl.java and
java.beans.PropertyDescriptor.java which allows me to use the
following setter and *still* configure the bean using Spring.
public Person setName(String _name) {
this.name = _name;
return this;
}
If anyone is interested in this work, I'd be happy to share the files.
And if a few people are serious about usage, I'd see if I could avoid
changing PropertyDescriptor.java since it is an official part of Java
(ie, part of rt.jar).
-david
_______________________________________________
Rife-devel mailing list
Rife-devel@...
http://lists.uwyn.com/mailman/listinfo/rife-devel