Embedded Application Communication
First Claim
1. A computer-implemented method comprising:
- receiving registrations of first callback functions or methods in a first Application Programming Interface (API) provided for a host application to expose a host application object model to a program embedded in a virtual machine embedded in the host application;
receiving registrations of second callback functions or methods in a second API provided for the virtual machine to expose a virtual machine object model, which is associated with the embedded program, to the host application; and
wherein the first callback functions or methods are used to allow the embedded program to set and get properties of one or more first class instances residing in a host application memory space and to invoke methods on the one or more first class instances, the second callback functions or methods are used to allow the host application to set and get properties of one or more second class instances residing in a virtual machine memory space and to invoke methods on the one or more second class instances, and the first and second APIs do not alter a format of data retrieved from the host application and virtual machine memory spaces using the first and second callback functions or methods.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for embedded application communication. In one aspect, a method includes providing a first Application Programming Interface (API) in the host application, where the first API is configured to interact with a virtual machine object model of the virtual machine to allow the host application to set and get properties of one or more first class instances residing in a virtual machine memory space, and to invoke methods on the first class instances, and providing a second API in the virtual machine configured to interact with a host application object model in the host application.
-
Citations
26 Claims
-
1. A computer-implemented method comprising:
-
receiving registrations of first callback functions or methods in a first Application Programming Interface (API) provided for a host application to expose a host application object model to a program embedded in a virtual machine embedded in the host application; receiving registrations of second callback functions or methods in a second API provided for the virtual machine to expose a virtual machine object model, which is associated with the embedded program, to the host application; and wherein the first callback functions or methods are used to allow the embedded program to set and get properties of one or more first class instances residing in a host application memory space and to invoke methods on the one or more first class instances, the second callback functions or methods are used to allow the host application to set and get properties of one or more second class instances residing in a virtual machine memory space and to invoke methods on the one or more second class instances, and the first and second APIs do not alter a format of data retrieved from the host application and virtual machine memory spaces using the first and second callback functions or methods. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system comprising:
-
a computer-readable storage device including a computer program product; one or more processors configured to interact with the storage device and execute the program product to perform operations comprising; receiving registrations of first callback functions or methods in a first Application Programming Interface (API) provided for a host application to expose a host application object model to a program embedded in a virtual machine embedded in the host application; receiving registrations of second callback functions or methods in a second API provided for the virtual machine to expose a virtual machine object model, which is associated with the embedded program, to the host application; and wherein the first callback functions or methods are used to allow the embedded program to set and get properties of one or more first class instances residing in a host application memory space and to invoke methods on the one or more first class instances, the second callback functions or methods are used to allow the host application to set and get properties of one or more second class instances residing in a virtual machine memory space and to invoke methods on the one or more second class instances, and the first and second APIs do not alter a format of data retrieved from the host application and virtual machine memory spaces using the first and second callback functions or methods. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. (canceled)
-
18. (canceled)
-
19. (canceled)
-
20. (canceled)
-
21. (canceled)
-
22. A computer-readable storage device encoding a computer program product that causes data processing apparatus to perform operations comprising:
-
receiving registrations of first callback functions or methods in a first Application Programming Interface (API) provided for a host application to expose a host application object model to a program embedded in a virtual machine embedded in the host application; receiving registrations of second callback functions or methods in a second API provided for the virtual machine to expose a virtual machine object model, which is associated with the embedded program, to the host application; and wherein the first callback functions or methods are used to allow the embedded program to set and get properties of one or more first class instances residing in a host application memory space and to invoke methods on the one or more first class instances, the second callback functions or methods are used to allow the host application to set and get properties of one or more second class instances residing in a virtual machine memory space and to invoke methods on the one or more second class instances, and the first and second APIs do not alter a format of data retrieved from the host application and virtual machine memory spaces using the first and second callback functions or methods. - View Dependent Claims (24, 25, 26)
-
-
23. The computer-readable storage device of claim 23, wherein the first API and the second API are each configured to provide access to a respective name space that encompasses class names in the host application object model and the virtual machine object model, respectively.
Specification