This package contains a number of useful classes for working with the Managed Object Framework. A brief description of the classes follows. Most of the classes listed below have more detailed documentation in Javadoc form, this write up is just intended to provide an overview of what is available.
Related Documents
Contents
The ObjectResolver interface provides a very neutral interface for mapping objects to and from string names to support such facilities as remote-method-call. It has just two methods, findObject, and getKeyPath. findObject takes an object string name (called a keyPath), and an optional class/interface name. It is supposed to return the object that has that name. The optional class/interface name may be used to verify that the object supports a particular interface. getKeyPath takes an object and returns the keyPath that can later be used to look up the object with findObject.
ObjectResolverKC is an implementation of the ObjectResolver interface that uses a collections from the MOFW to support the mapping process.
The base classes provide partial implementations of important parts of the MOFW. These are described in detail in Overview of the Base Classes,
The key processing classes support working with various string forms of object identifiers. Currenty the only form supported is the MOFW key path string which is a slash separated sequence of keys. Soon we will add support for URL-base object identifiers.
There are two memory based streams, one based on an array and the other based on a Vector. Each of these implement the full EDStream interface for both input and output. The do not actually read or write data to external storage, but just to an internal memory buffer. These are quite efficient for usage in transfering essential state from one object to another object, such as in a copy operation.