Supporters providing extensible classes without recoding for object-oriented applications
AssigneeSun Microsystems, Inc.
InventorAlejandro H. Abdelnur
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc.
InventorAlejandro H. Abdelnur
Estimating the term…
A system and method for adding support for new contained classes to a container class that does not require the container class to be recompiled. Also disclosed is a system and method for building container classes that does not require a programmer to explicitly code methods related to the contained classes. A set of classes, called Supporters, provides support for contained classes. Related Supporters can be packaged as a library that can be shipped with programming environments, updated APIs or device drivers. A SupporterAffinity manages Supporters for use by a particular contained class. A SupporterAffinity method (“getSupporter”) can be invoked to add a Supporter for a new contained class to the SupporterAffinity, allowing an instance of the container class to use that Supporter's methods on instances of the new contained class. Because support for the new container class is provided via the SupporterAffinity and the new Supporter, there is no need to recode the container class.
A system for adding support for contained classes to a container class, comprising:
A method for adding support for contained classes to a container class, comprising:
A computer program product for adding support for contained classes to a container class, the computer program product including a computer readable medium and a computer mechanism stored thereon, the computer mechanism comprising:
Dependencies are inferred from the claim text.