next up previous contents
Next: Summary of Reconfiguration Up: Reconfiguration Previous: Adaptation Adaptor - Proposal

Virtual Class - Proposal 3

Maximum transparency is realized by using a virtual class, e.g. Memory, which is used as a representation for the implementation classes and instead of loading the class Memory the adaptation mechanism is triggered to load the right implementation class. The virtual classes do not exist as source code or executable code, and serve just as place-holders for the implementation classes.

This might be realized by a modified compiler, which must recognize the class as a virtual class. The virtual class might then be replced by a reference to an adaptor class.

Another approach could be the exchange of the virtual class during runtime by generating adaptors in byte code. Nevertheless there would still be the problem that the compiler needs a code base for the virtual class in order to be able to translate the source code.


 
Figure: Virtual class 

Figure [*] shows the migration of the mobile agent with the virtual classes and the replacement of implementation classes on the hosts. The proposal of virtual classes would offer a very high level of transparency, but the problem is the compilation of an application that references classes which can not be found by the compiler or the linker.


next up previous contents
Next: Summary of Reconfiguration Up: Reconfiguration Previous: Adaptation Adaptor - Proposal
Copyright Munich Network Management Team