摘要 |
PROBLEM TO BE SOLVED: To include already tested behaviors of an object, which was developed in the past, in a new product with respect to object oriented program development. SOLUTION: This computer system includes an environment having a single processing space. In this environment, plural application programs 311 and 313 can refer to common library program specifications 312 without contention. For example, when a first application program 340 requests instance generation of a library object 348, this library object is subjected to instance generation by a factory object 346 of a library. Instance variables of a singleton factory object to each application program provide shared data among library objects. A method for integrated program specifications includes revising a library class to include a factory class, rewriting static class variables as factory instance variables, and recompiling the library to substitute all references to static class variables with respect to factory instance variables.
|