[Seaside-dev] 3.0.4 status (PharoCore1.0)

Philippe Marschall philippe.marschall at gmail.com
Sat Feb 12 20:19:52 UTC 2011


2011/2/12 Dale Henrichs <dhenrich at vmware.com>:
> Avi,
>
> In GemStone it is not a good idea to rely on allInstances since a repository
> can be quite large, so I'm reluctant to put in such a method.
>
> Presumably something like the following will work:
>
>  WASystemConfiguration allSubclasses do: [ :each |
>    each instance
>        clearSearchContexts;
>        clearDescription ].
>
> without resorting to allInstances? In the particular case I've seen clearing
> the description and search context would do the trick...

Sounds ok, maybe in an a class side #intialize on
WASystemConfiguration or something. That makes we wonder whether
WASystemConfiguration class >> #clearAllDescriptions should actually
clear the cached search contexts as well?

Cheers
Philippe


More information about the seaside-dev mailing list