mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Gustavsson <nik...@protocol7.com>
Subject Re: Configuring a custom UserManager
Date Thu, 09 Dec 2010 09:39:23 GMT
Sorry for the late reply.

On Wed, Nov 17, 2010 at 6:19 PM, John Hartnup <john.hartnup@gmail.com> wrote:
> SITE.java in 1.0.5 has a static COMMAND_MAP variable, intialised with the
> site command objects in a static block.
> Command command = (Command) COMMAND_MAP.get(siteRequest);
>
> The trunk instead uses :
> Command command = context.getCommandFactory().getCommand(siteRequest);
>
> I much prefer the latter, as it allows me to create new SITE commands and
> register them at configuration time.

Right, I was misunderstanding your question. I don't think there would
be any problem to port the change in 1.1.x to 1.0.6 if that would
help.

/niklas

Mime
View raw message