Patent ID: 7735015
Filing Date: 2010-06-08
Classification: G06F

Abstract:
1. A method of generating an inheriting interface definition language (IDL) interface, comprising: identifying a plurality of parents for the inheriting IDL interface, wherein the inheriting IDL interface inherits directly from each of a plurality of parent interfaces corresponding to the plurality of parents; identifying the plurality of parent interfaces associated with the plurality of parents, wherein the plurality of parent interfaces comprise a plurality of concrete parent interfaces; computing a set of directly implemented methods for the plurality of parent interfaces; generating an implementation of the inheriting IDL interface with the plurality of concrete parent interfaces to generate a plurality of delegation fields, wherein the plurality of delegation fields create an instance for each of the plurality of parents in the implementation of the inheriting IDL interface; generating an initialization method and a setting method for each of the plurality of delegation fields in the implementation of the inheriting IDL interface; and generating indirectly implemented methods with a body that delegates functionality to one of the plurality of delegation fields, wherein the indirectly implemented method calls a corresponding directly implemented method in the plurality of parent interfaces using the one of the plurality of delegation fields, wherein generating the body comprises generating a full body implementation for each of the plurality of indirectly implemented methods, wherein the full body implementation comprises delegation source code, a delegation object attribute, and an initialize inheritance tree method.