Patent ID: 6788317
Filing Date: 2004-09-07
Classification: G06F

Abstract:
A method of generating an implementation for an interface definition language interface (IDL), comprising:identifying parents for an interface; computing a set of directly implemented methods for all parent interfaces; generating an implementation of the interface with concrete parent interfaces to generate a plurality of delegation fields; generating initialization and setting methods for the plurality of delegation fields; generating indirectly implemented methods with a body that delegates functionality to one of the delegation fields; generating inherited methods and required fields to guarded blocks; generating delegation source code for an abstract interface; generating a full body implementation, wherein the delegation source code is generated, a delegation object attribute is created, and an initialize inheritance tree method is created; and supporting the generation of the delegation source code for implementation of the IDL interface that extends all the parent interfaces using an implementation generator; wherein the specifics of generation of the indirectly implemented methods depends on the type of delegation chosen; wherein the IDL interface is written using an editor component; and wherein the implementation generator supports a none delegation setting, a static delegation setting, and a virtual delegation setting.