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