摘要 |
A run-time customization capability extends functionality of a software application in a computer system. Through object-oriented design, an instance of a first class is instantiated. The first class (e.g., a derived class) has a same interface as a second class. The first and second classes enable respective first and second functionalities through respective first and second implementations of the same interface. The first implementation is dynamically loaded at run time. The dynamic loading can involve locating the first implementation, such as by using a locator to locate a module comprising the first implementation. A transfer vector usable in accessing the first implementation can be initialized to have an indication of a location of the first implementation. Programming code associated with the same interface can be compiled prior to compilation of programming code associated with the first implementation.
|