| |
| |
2.7 object lifetime |
 | | Object lifetime is orthogonal to type, is specified at object creationand, once specified, cannot be changed (there is some discrepancy betweensection 2.3.2.7 which discusses lifetime and section 2.3.2.6 where thecreate operation is discussed and makes no mention of lifetime). |
 | | Object classesmay be defined as transient, persistent, or collectable.If a class is transient, the class objects and objects of the classare destroyed automatically when the run unit (program execution) terminates.If a class is persistent, the class object and objects of the classare destroyed only when a CBL-DISCARD method is invoked on them. |
 | | Persistentclass objects and persistent objects exist from one run unit to the next.If a class is collectable, the class is transient and hence theclass objects and objects of the class are destroyed automatically whenthe run unit terminates. |
| www.objs.com /x3h7/sec27.htm (2865 words) |
|