IP Library Granted Patent US 9,703,576
Granted Patent B2
US 9,703,576 · App. 12/061,972 · Granted Jul 11, 2017

Aspect scoping in a modularity runtime

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 9,703,576
App. No.
12/061,972
Granted
Jul 11, 2017
Kind
B2
Abstract

A method and system are provided for aspect scoping in a modularity runtime. The method includes declaring a set of aspects of a bundle as public aspects in a first aspect configuration file, and filtering the aspect configuration files imported by a bundle to the files from bundles on which the importing bundle has a dependency. The method includes declaring a set of aspects of a bundle as private aspects in a second aspect configuration file. At weaving of aspects at a bundle, the weaving includes: any aspects defined as private aspects; any aspects defined as public aspects; any imported aspects; and any first configuration files from exporting bundles are declared.

Claims (45)

1. A method for aspect scoping in a modularity runtime, comprising:

declaring a set of aspects of a first bundle as public aspects in a first aspect configuration file; and

filtering aspect configuration files imported by the first bundle from other bundles on which the first bundle has a dependency.

2. A method as claimed in claim 1 , including:

declaring a set of aspects of the first bundle as private aspects in a second aspect configuration file.

3. A method as claimed in claim 1 , wherein the first bundle exports a package defining an aspect and exports the first aspect configuration file.

4. A method as claimed in claim 1 , wherein the first bundle imports a package defining an aspect from a second bundle and imports a first second aspect configuration file from the second bundle.

5. A method as claimed in claim 1 , wherein when weaving aspects at the first bundle, the weaving includes:

any aspects defined as private aspects;

any aspects defined as public aspects;

any imported aspects; and wherein

any aspect configuration files from exporting bundles are declared.

6. A method as claimed in claim 1 , wherein the modularity runtime is an Open Services Gateway initiative (OSGi) framework.

7. A system, comprising:

a memory unit for storing a computer program for aspect scoping in a modularity runtime having multiple bundles with declared aspects; and

a processor coupled to the memory unit, wherein the processor is configured to execute the program instructions of the computer program comprising:

declaring a set of aspects of a first bundle as public aspects in a first aspect configuration file; and

filtering aspect configuration files imported by the first bundle from other bundles on which the first bundle has a dependency.

8. A system as claimed in claim 7 , wherein the program instructions of the computer program further comprise:

determining dependencies between bundles.

9. A system as claimed in claim 7 , wherein the program instructions of the computer program further comprise:

declaring a set of aspects of the first bundle as private aspects in a second aspect configuration file.

10. A system as claimed in claim 7 , wherein the program instructions of the computer program further comprise:

determining aspects which are public and aspects which are private and filtering the aspect configuration files.

11. A system as claimed in claim 7 , wherein the first bundle exports a package defining an aspect and exports the first aspect configuration file.

12. A system as claimed in claim 7 , wherein the first bundle imports a package defining an aspect from a second bundle and imports a second aspect configuration file from the second bundle.

13. A system as claimed in claim 7 , wherein when weaving aspects at the first bundle, the weaving includes:

any aspects defined as private aspects;

any aspects defined as public aspects;

any imported aspects; and wherein

any aspect configuration files from exporting bundles are declared.

14. A system as claimed in claim 7 , wherein the modularity runtime is an Open Services Gateway initiative (OSGi) framework.

15. A computer program product stored on a computer readable storage medium, wherein the medium does not include a propagating signal, for aspect scoping in a modularity runtime, comprising computer readable program code for performing the steps of:

declaring a set of aspects of a first bundle as public aspects in a first aspect configuration file; and

filtering aspect configuration files imported by the first bundle from other bundles on which the first bundle has a dependency.

16. The computer program product as recited in claim 15 further comprising computer readable program code for performing the step of:

declaring a set of aspects of the first bundle as private aspects in a second aspect configuration file.

17. The computer program product as recited in claim 15 , wherein the first bundle exports a package defining an aspect and exports the first aspect configuration file.

18. The computer program product as recited in claim 15 , wherein the first bundle imports a package defining an aspect from a second bundle and imports a second aspect configuration file from the second bundle.

19. The computer program product as recited in claim 15 , wherein when weaving aspects at the first bundle, the weaving includes:

any aspects defined as private aspects;

any aspects defined as public aspects;

any imported aspects; and wherein

any aspect configuration files from exporting bundles are declared.

20. The computer program product as recited in claim 15 , wherein the modularity runtime is an Open Services Gateway initiative (OSGi) framework.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 15, 2021
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: AIRBNB, INC.
Reel/Frame 056427/0193 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 21, 2008
From: KNIBB, DAVID EVANS; WEBSTER, MATTHEW ALEXANDER
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 020830/0526 →