US 7,594,217 B2
Matching client interfaces with service interfaces
Michael Beisiegel, Poughkeepsie, N.Y. (US); Stephen Andrew Brodsky, Los Gatos, Calif. (US); Jean-Sebastien Michel Delfino, San Carlos, Calif. (US); Zhaohui Feng, Fremont, Calif. (US); and Anh-Khoa Dinh Phan, Rochester, Minn. (US)
Assigned to International Business Machines Corporation, Armonk, N.Y. (US)
Filed on Dec. 07, 2004, as Appl. No. 11/7,753.
Prior Publication US 2006/0122958 A1, Jun. 08, 2006
Int. Cl. G06F 9/44 (2006.01); G06F 15/16 (2006.01)
U.S. Cl. 717—107  [709/237] 33 Claims
OG exemplary drawing
 
1. A method, comprising:
providing a client component including at least one client interface, wherein the client components are loaded in a runtime environment;
providing a target component including at least one service interface;
providing a data structure for the client component associating at least one client interface in the client component with one target component;
determining in the runtime environment, for each client interface indicated in the data structure, whether there is one service interface in the target component associated with the client interface that is compatible with the client interface, wherein the service interface in the target component associated with the client interface implements a functionality of the associated client interface in the target component;
generating a mapping in the runtime environment associating each client interface indicated in the data structure with one compatible service interface in the target component and associating each parameter of the client interface indicated in the data structure with one parameter of the compatible service interface associated in the mapping;
using the mapping in response to a call in the runtime environment to one client interface indicated in the mapping to generate a call to the service interface associated in the mapping with the client interface;
mapping each parameter in the called client interface to one parameter in the generated call to the service interface, wherein the call to the service interface is executed to implement the call to the client interface; and
indicating in the data structure an error for one client interface indicated in the data structure in response to determining that the client interface is not compatible with one service interface in the target component associated with the client interface.