摘要:
A system, method and article of manufacture for automatically inserting object services such as persistence, concurrency, recoverability, security and distribution into binary classes in an information handling system employing object oriented technology, includes the steps of registering a description of a class in a name service context, searching the name service context for a class object referred to as a factory with desired constraints on properties, whether the object is operable in a predetermined operational environment, where the search excludes object services constraints, for classes which are found by the search, first select those classes which already support the object services constraints, create in the operational environment a class object with the desired object services features, and adding a particular object services feature if the original class provide the desired feature, and returning the class object to the caller which can then use the class object to create multiple instances thereof.
摘要:
A system and method for storing object information on a persistent medium. A DefaultEncoderDecoder is supplied that encodes object persistent attribute data into a string of attribute names, types and data values. The encoding and decoding is managed by one or more get and one or more set methods. The get methods control storing of the data while set methods control restoring of persistent data. Encoded strings of attribute data are upwardly compatible through replacement or overriding of the set methods.