Browse Prior Art Database

Persistent Object State

IP.com Disclosure Number: IPCOM000117401D
Original Publication Date: 1996-Feb-01
Included in the Prior Art Database: 2005-Mar-31
Document File: 2 page(s) / 54K

Publishing Venue

IBM

Related People

Conner, MH: AUTHOR [+2]

Abstract

Extension macros that belong to the applications are kept in a persistent object that belongs to the application. The state variables that are used by these macros are kept in the application's persistent attribute dictionary. Thus, extension macros and their associated state variables are persistent. This allows macros to maintain their state across executions of an application that was not part of the application's original design.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 53% of the total text.

Persistent Object State

      Extension macros that belong to the applications are kept in a
persistent object that belongs to the application.  The state
variables that are used by these macros are kept in the application's
persistent attribute dictionary.  Thus, extension macros and their
associated state variables are persistent.  This allows macros to
maintain their state across executions of an application that was not
part of the application's original design.

      The following algorithm can be used in an application framework
to save the global context used by the extension macros:
  1.  The application framework provides a application builder to add
       new global variables to the specified persistent attribute
       dictionaries in the applications.
        These global variables are represented through attribute
       objects.  An attribute has a name, type and a value.  The name
of
       the attribute is it's ID in the attribute dictionary.  So,
these
       attributes can be accessed through their names and they can be
       used to store integer, real, character, string and object
values.
       An attribute object supports messages like "getAttrType",
       "setIntAttrValue" and "getIntAttrValue".
  2.  Furthermore, the application builder provides facilities to add
       extension macros to the persistent objects that are part of
the
       applications.  The application builder also provides
f...