| US 7,493,605 B2 | ||
| Method and a software product for adapting a .Net framework compliant reflection mechanism to a java environment | ||
| Eyal Alaluf, Jerusalem (Israel); and Ilya Kharmatsky, Jerusalem (Israel) | ||
| Assigned to Mainsoft R&D Ltd, Lod (Israel) | ||
| Filed on Dec. 29, 2004, as Appl. No. 11/23,607. | ||
| Prior Publication US 2006/0143597 A1, Jun. 29, 2006 | ||
| Int. Cl. G06F 9/44 (2006.01); G06F 3/00 (2006.01) | ||
| U.S. Cl. 717—148 [717/136; 717/138; 717/139; 719/313; 719/330] | 24 Claims |

| 1. A method for adapting a .Net framework compliant reflection mechanism to a Java runtime environment, wherein said reflection
mechanism discovering class information and invoking data members solely at runtime, said method comprising:
gathering reflection related metadata from a .Net assembly class of a respective .Net class;
generating a plurality of conversion methods, wherein each of the conversion methods enables the use of at least a reflection
function defined in said .Net class by said Java run, time environment;
generating an attributes class comprising at least said reflection related metadata and said plurality of conversion methods;
and
integrating said attributes class in a Java class file of said respective .Net class,
such that said reflection mechanism is adapted as defined in the .Net framework to the Java environment;
wherein the reflection functions are for retrieving information on a type data declaration; for creating an instance of a
class and for invoking a data member of a class.
|