incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janne Jalkanen <Janne.Jalka...@ecyrd.com>
Subject Re: [jira] Commented: (JSPWIKI-57) UserManager & JSONUserModule missing Serializable
Date Sat, 14 Jun 2008 20:41:51 GMT

On 14 Jun 2008, at 23:37, Andrew Jaquith wrote:

> There is nothing in JSONUserModuke that requires it to have  
> privileged access to any of UserManager's innards. So it could  
> easily be made into a stand-alone class.
>
> As for the direct reference, is there some way we could obtain the  
> UserManager via lookup rather than maintaining a hard reference?  
> That would solve the problem...

Probably.  Since it's an AJAX thing, having a bit of speed might be a  
good idea; but if we put in a volatile field referencing UserManager  
and look it up if it's missing, it should work fine.

/Janne

Mime
View raw message