You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Niklas Gustavsson <ni...@protocol7.com> on 2009/09/01 09:46:16 UTC
Re: [vysper] change MUCModule initialisation
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
Re: [vysper] change MUCModule initialisation
Posted by Bernd Fondermann <bf...@brainlounge.de>.
Niklas Gustavsson wrote:
> 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.
+1
>
> /niklas
>