IP Library Granted Patent US 8,127,313
Granted Patent B2
US 8,127,313 · App. 12/060,085 · Granted Feb 28, 2012

Method and system for providing services

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,127,313
App. No.
12/060,085
Granted
Feb 28, 2012
Kind
B2
Abstract

A method for providing a service on a device. The method includes instantiating a service provider that provides the service, where the service provider implements a service provider interface (SPI) corresponding to the service and where the SPI is defined by a service provision framework for providing services to Xlets. The method further includes using the service by a first Xlet, where the first Xlet uses the service provider interface (SPI).

Claims (56)

1. A method for providing a service on a device comprising:

instantiating, by a first Xlet, a first service provider instance that provides the service, wherein the first service provider instance implements a first service provider interface (SPI) corresponding to the service, wherein the first SPI is defined by a service provision framework for providing services to Xlets;

accessing the service by the first Xlet using the first SPI;

instantiating, by a second Xlet, a second service provider instance that provides the service, wherein the second service provider instance implements a second SPI corresponding to the service, wherein the second SPI is defined by the service provision framework for providing services to Xlets; and

accessing the service by the second Xlet using the second SPI; and

denying, to the second Xlet, access to the service by the first service provider instance implementing the first API.

2. The method of claim 1 , wherein the first service provider instance is configured to provide the service only to the first Xlet.

3. The method of claim 1 , wherein the first service provider instance is terminated when the first Xlet is terminated.

4. The method of claim 1 , wherein the first Xlet and the first service provider instance are loaded into a same isolate.

5. The method of claim 1 , wherein the first Xlet and the first service provider instance are loaded by a same class loader.

6. The method of claim 1 , further comprising:

using the service by a third Xlet, wherein the third Xlet uses an application programming interface (API) on the device to access the service, and firmware on the device uses the first service provider instance in the first Xlet.

7. The method of claim 6 , wherein instantiating the that service provider instance is performed before the third Xlet is loaded.

8. The method of claim 6 , wherein the first Xlet comprises the first service provider instance, wherein the first Xlet is loaded into a first isolate and the third Xlet is loaded into at least one other isolate.

9. The method of claim 6 , wherein the first Xlet and the third Xlet can each be independently restarted.

10. A system for providing services to Xlets comprising:

a processor;

a service provision framework, executing on the processor, comprising:

a first service provider interface (SPI) for an Xlet-bound service provider, and

a second SPI for a system bound service provider;

a first Xlet configured to

instantiate a first service provider instance implementing the first SPI;

access a first service using the first SPI, and

access a second service using the second SPI;

a second Xlet configured to

access the second service using the second SPI;

the first service provider instance implementing the first SPI configured to

provide, to the first Xlet, access to the first service, and

deny, to the second Xlet, access to the first service; and

a second service provider instance implementing the second SPI configured to:

provide, to the first Xlet, access to the second service, and

provide, to the second Xlet, access to the second service.

11. The system of claim 10 ,

wherein the first service provider instance is terminated when the first Xlet is terminated.

12. The system of claim 11 , further comprising:

a first isolate, wherein the first Xlet and the first service provider instance are loaded into the first isolate.

13. The system of claim 10 , further comprising:

a third Xlet, wherein the second service provider instance is instantiated by the third Xlet.

14. The system of claim 10 , further comprising:

a first isolate; and

a second isolate,

wherein the second service provider instance is loaded into the first isolate, and

wherein the first Xlet and the second Xlet are loaded into the second isolate.

15. The system of claim 10 , wherein the first Xlet and the second Xlet communicate with the second service provider instance using interprocess communication.

16. A non-transitory computer readable medium comprising executable instructions to provide a service by:

instantiating, by a first Xlet, a first service provider instance that provides the service, wherein the first service provider instance implements a first service provider interface (SPI) corresponding to the service, wherein the first SPI is defined by a service provision framework for providing services to Xlets;

accessing the service by the first Xlet using the first SPI;

instantiating, by a second Xlet, a second service provider instance that provides the service, wherein the second service provider instance implements a second SPI corresponding to the, wherein the second SPI is defined by the service provision framework for providing services to Xlets;

accessing the service by the second Xlet using the second SPI; and

denying, to the second Xlet, access to the service by the first service provider instance implementing the first API.

17. The non-transitory computer readable medium of claim 16 , wherein

the first service provider instance provides the service only to the first Xlet, and

the first service provider instance is terminated when the first Xlet is terminated.

18. The non-transitory computer readable medium of claim 17 , wherein the first Xlet and the first service provider instance are loaded into a same isolate.

19. The non-transitory computer readable medium of claim 16 , wherein the first service provider instance is a system bound service provider, and wherein the first service provider instance provides the service to the first Xlet and the second Xlet.

20. The non-transitory computer readable medium of claim 19 , wherein the first service provider instance is loaded into a first isolate and the first Xlet and the second Xlet are loaded into at least one other isolate.

Assignments (1)
MERGER AND CHANGE OF NAME Recorded Dec 16, 2015
From: ORACLE USA, INC.; SUN MICROSYSTEMS, INC.; ORACLE AMERICA, INC.
To: ORACLE AMERICA, INC.
Reel/Frame 037311/0150 →