At 04:02 19/12/00 +0100, Marco Struck wrote: >i've seen, that the services which can use from tasks >are activatable over methodname matching (like beans). >e.g. > public void addFileset(FileSet set); > >is there a special reason for that ? >yust a typing error causes that it doesn't work.
extensability. If we had 50 different data-types we would require 50 interfaces which would be too difficult to manage. Treating them as a variation of beans enables us to do a lot more things much more flexably without burdening ant-core with large numbers of interfaces. Reflection also allows runtime discovery of proerpties etc. Cheers, Pete *-----------------------------------------------------* | "Faced with the choice between changing one's mind, | | and proving that there is no need to do so - almost | | everyone gets busy on the proof." | | - John Kenneth Galbraith | *-----------------------------------------------------*
