User's Guide


Namespaces

The Smalltalk global namespace consists of the following components:

The unmanaged namespace
Contains bindings from names to global variables and pools that are introduced into the image using runtime protocols (such as, at:put:, declareVariable:, and declarePoolDictionary:) sent to the Smalltalk dictionary.

IBM Smalltalk does not create, maintain, or remove bindings from the runtime structures in the unmanaged namespace.

A managed namespace
Exists for each application. For an application and its subapplications, the managed namespace contains:

A name cannot be in both the unmanaged namespace and a managed namespace.

To ensure compatibility with existing protocols that operate on the unmanaged namespace, a name cannot be defined in more than one application namespace.

A Smalltalk image component contains a fully formed representation of its application namespace. This simplifies and accelerates the initialization of the image component. An image component cannot be created for an application that has unmanaged pools or variables.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]