Patent ID: 8370531
Filing Date: 2013-02-05
Classification: G06F

Abstract:
1. A computer-implemented method for accessing an object in an object-oriented programming environment, the object written in a first object-oriented programming language, the method comprising: executing a program written in a second programming language in a second environment external to the object-oriented programming environment, the execution of the program identifying an object in the object-oriented programming environment; introspecting an object class for the identified object during the execution of the program in the second environment to determine at least one interface supported by the identified object; creating an adaptor class in the object oriented programming environment during the execution of the program in the second environment, the creating of the adaptor class being based on a result of the introspection, the creating including an adding of bytecode to an adaptor class definition in the object-oriented programming environment, the adaptor class implementing an interface supported by the class of the identified object; instantiating an object of the adaptor class in the object oriented programming environment without first compiling the adaptor class; creating, in the second environment, a proxy for the identified object; and establishing communication between the identified object written in the first object-oriented language and the program written in the second programming language via the interface in the adaptor object.