|
From: Andreas S. <tu...@ya...> - 2004-11-15 07:09:37
|
> Currently I don"t see any other option than dropping > validation of constructor arguments completely. > Any thoughts? Hi Torsten, maybe you could check if a bean has no further children and validate only these beans. However, that might be difficult considering the possible existence of multiple context files. In my opinion the best (and I think the easiest) solution would be the general validation of all non abstract-beans which have a class assigned (defined or inherited). In my case it would be no problem to tag the offending parent bean abstract and I do not see that it would pose a problem in general. Lacking the complete set of constructor arguments, a bean would never be usable from a bean factory. So the validation would force users to correctly tag those beans as abstract and improve the meaning of their configuration. Regards, Andreas ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |