On Mon, Aug 31, 2009 at 12:50 PM, Bernd Fondermann<bf_...@brainlounge.de> wrote: > Currently, MUCModule cannot be loaded dynamically from the > non-MUC-specific ServerMain, because it lacks a zero-arg constructor.
Right. > Some more findings > + MUCModule constructors take the full domain name, while it may be more > easily to use in production if we only supply the subdomain and the full > domain is then derived as <subdomain>.<server domain> +1 > + We could define a default subdomain for MUC, like 'chat' or 'conference'. +1, "chat" makes sense. > This would enable us to run MUC with less configuration, reasonably > defaulting to sane values. It would enable us to provide a non-arg > constructor. While I think this is a worthwhile improvement in MUC, I also think ServerMain should be made more flexible as to support basic configuration of modules. /niklas