Registries

Summary: A more flexible way of doing registries
Author: Adam Spitz
Owner: Adam Spitz (ads)
Co-maintainers: <None>
Categories:
Homepage:
PackageInfo name: <Not entered>
RSS feed:

Description:

This package is not currently loadable. The package owner has been contacted to assist in correcting this. (klc, 7/11/2008)

This is a pretty simple class to let us do registries a little bit more flexibly than the current systems that we use for flaps or the open menu. A Registry contains a list of "pushed" items, can optionally "pull" a list of items from suitably-annotated class-side methods in the image, and can cache those pulled items so that they don't need to be re-pulled every time they're asked for. Also, a central dictionary of Registries is kept in the image, so that clients can register items even if the "owner" of the registry isn't installed. This ought to let us remove some packages (like Flaps) from the image.

See the Registry class comment for a slightly more detailed description. And see the SUnit tests for examples.

Releases


Back