System and method for remote enabling classes without interfaces
AssigneeRecursion Software, Inc.
InventorGraham W. Glass
Life of this patent
Estimating the term…
Abstract
An interface generator (250) for remote enabling class files (252) without an associated interface is provided that includes a class reader (256), a reflection module (258), and an interface generation module (262). The class reader (256) receives a class file (252) from an input list. The reflection module (258) determines a name of the class file, public methods of the class file, and a signature of each of the public methods of the class file. The interface generation module (262) generates an interface (254) for the class file (252) using the name of the class file, the public methods of the class file, and the signature for each of the public methods of the class file determined by the reflection module (258).
Claims13
An interface generator executing on a computer system for remote enabling class files, comprising:
- a class reader operable to receive an existing class file from a remote proxy generator in response to a request for access to a remote object during run-time, the class file not having any associated interfaces;
- a reflection module operable to determine a name of the class file, one or more public methods of the class file and a signature for each of the one or more public methods of the class file;
- and
- an interface generation module operable to generate an interface for the class file using the name, the one or more public methods, and the signature for each of the one or more public methods.
A method for generating an interface for a class file, comprising:
- receiving an existing class file from a remote proxy generator in response to a request for access to a remote object during run-time, the class file not having any associated interfaces;
- determining a name of the class file;
- determining one or more public methods of the class file;
- determining a signature for each of the one or more public methods of the class file;
- and
- generating an interface for the class file using the name, the one or more public methods, and the signature for each of the one or more public methods of the class file.
A method for remote enabling classes without interfaces, comprising;
- receiving an existing class file from a remote proxy generator in response to a request for access to a remote object during run-time;
- searching for a valid interface for a class file while dynamically generating a remote proxy class for the class file;
- processing the class file in response to an absence of a valid interface;
- determining a name of the class file;
- determining a signature for each of the one or more public methods of the class file;
- and
- generating an interface for the class file using the name, the one or more public methods, and the signature for each of the one or more public methods of the class life.
Dependencies are inferred from the claim text.