Patent ID: 8539468
Filing Date: 2013-09-17
Classification: G06F

Abstract:
1. A computer-implemented method for creating transparent object adapters for replaced classes in an application comprising multiple subsystems, the method comprising: in response to substituting a new subsystem for an original subsystem from the multiple subsystems, determining whether an original class of the original subsystem is referenced by at least one other of the multiple subsystems; if the original class is referenced by at least one of the other multiple subsystems, generating an object adapter class and a new class based on the original class, the object adapter class comprising a class having a same name and package as the original class, the new class comprising a public method that references the object adapter class, and the public method configured to determine whether the object adapter class is initialized and, if the adapter is not initialized, to create an instance of the original class, initialize the instance of the original class with a reference to the new class, and assign to the instance of the original class a reference attribute of the new class; and invoking the public method when the object adapter class needs to be referenced; wherein the object adapter class is configured to export methods referenced by at least one other of the multiple subsystems and to perform at least one among transforming data and handling references to adapter objects passed as parameters or returned values, and wherein the object adapter class and the new class are configured to maintain references to one another.