Interface adaptation allows code written for one interface to be used with a software component with another interface. When multiple adapters are chained together to make certain adaptations possible, we need a way to analyze how well the adaptation is done in case there are more than one chains that can be used. We introduce an approach to precisely analyzing the loss in an interface adapter chain using a simple form of abstract interpretation.
@cite_6 describes an ad hoc scheme for analyzing the loss in interface adapter chains. The scheme is based on boolean matrixes which specify the methods required in a source interface to implement a method in a target interface. A mapping product is defined on these matrixes which computes the loss incurred when interface adapters are chained. The mathematical model they use is not rigorously constructed, however. They also only consider the adaptation of methods as a whole and do not handle the case where methods could handle certain arguments but not others.
@cite_6
2132136548
A key feature of ubiquitous computing is service continuity which allows a user to transparently continue his task regardless of his movement. For service continuity, the underlying system needs to not only discover a service satisfying a user's request, but also provide an interface differences resolution scheme if the interface of the service found is not the same as that of the service requested. For resolving interface mismatches, one of solutions is to use an interface adapter. The most serious problem in the interface adapter-based approach is the overhead of adapter generation. There are many research efforts about adapter generation load reduction and this paper focuses on an adapter chaining scheme to reduce the number of necessary adapters among different service interfaces. We propose a construction-time adaptation loss evaluation scheme and an adapter chain construction algorithm, which finds an adapter chain with minimal adaptation loss.