Bernd Fondermann wrote: > [email protected] wrote: >> Author: ngn >> Date: Tue Aug 11 20:13:13 2009 >> New Revision: 803275 >> >> URL: http://svn.apache.org/viewvc?rev=803275&view=rev >> Log: >> Add support for letting modules register for subdomains (e.g. >> pubsub.vysper.org) on which all stanzas will be routed to that handler if >> the "to" attribute matches the subdomain (VYSPER-172) > >> - void setModules(List<Module> modules); >> + void addModules(List<Module> modules); > > Now, the method name does not communicate the the existing list of > modules is not replaced, but ammended. > > What's the motivation behind this change?
Wait a second... it's the other way round!! ;-) This change breaks the setter injection with spring (and that's the reason why it was named 'set', not 'add'... I'll try to work it out. Bernd
