A Flexible Approach for Instance Adaptation during Class Versioning

Authors: 
Rashid, A; Sawyer, P; Pulvermueller, E
Author: 
Rashid, A
Sawyer, P
Pulvermueller, E
Year: 
2000
Venue: 
ECOOP 2000 Symposium on Objects and Databases
URL: 
http://www.comp.lancs.ac.uk/computing/aose/papers/SADES_ECOOPOODBSymp2000.pdf
Citations: 
29
Citations range: 
10 - 49
AttachmentSize
Rashid2000AFlexibleApproachfor.pdf81.26 KB

One of the consequences of evolution can be the inability to access objects created using the older schema definition under the new definition and vice versa. Instance adaptation is the conversion of objects to a compatible definition or making objects exhibit a compatible interface. Existing evolution approaches are committed to a particular instance adaptation strategy. This is because changes to the instance adaptation strategy or an attempt to adopt an entirely different strategy would be very costly. This paper proposes a flexible instance adaptation approach for systems employing class versioning to manage evolution. Flexibility is achieved by encapsulating the instance adaptation code in aspects - ions introduced by aspect-oriented programming to localise cross-cutting concerns. This makes it possible to make cost-effective changes to the instance adaptation strategy. The flexibility of the approach is demonstrated by using two instance adaptation strategies: error handlers and update/backdate methods.