Support for subtyping and code re-use in Timor
CRPIT '02 Proceedings of the Fortieth International Conference on Tools Pacific: Objects for internet, mobile and embedded applications
Advanced Thread Synchronization in Java Using Interaction Expressions
NODe '02 Revised Papers from the International Conference NetObjectDays on Objects, Components, Architectures, Services, and Applications for a Networked World
Hi-index | 0.00 |
In an object oriented system different types of objects may have one or more attributes in common. For example different types of objects in a library system might be "loanable" or "catalogued". The first part of the paper introduces a distinction between object types and attribute types, showing that there are advantages in treating them as separate constructs of an object- oriented programming language. Then generalized attribute types, (e.g. "synchronized", "journalized", "protected") are discussed. It is shown how implementations involving a technique called bracket routines can lead to clearly modeled and cleanly implemented programs. It is then shown how the bracket technique can be effectively used to introduce protection and security concepts into a system. Among the clear advantages of this technique is that it results in better reusability of code.