Home > Research > Publications & Outputs > A Flexible Approach for Instance Adaptation Dur...


Text available via DOI:

View graph of relations

A Flexible Approach for Instance Adaptation During Class Versioning

Research output: Contribution in Book/Report/ProceedingsPaper

Publication date2001
Host publicationObjects and Databases International Symposium Sophia Antipolis,France,June 13,2000 Revised Papers
EditorsKlaus Dittrich, Giovanna Guerrini, Isabella Merlo, Marta Oliva, M. Elena Rodriguez
Place of PublicationBerlin
Number of pages13
ISBN (Print)978-3-540-41664-7
<mark>Original language</mark>English

Publication series

NameLecture Notes in Computer Science
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349


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 - abstractions 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.