Invention Grant
- Patent Title: Implementing aspects with callbacks in virtual machines
-
Application No.: US12325086Application Date: 2008-11-28
-
Publication No.: US09910688B2Publication Date: 2018-03-06
- Inventor: James P. Schneider
- Applicant: James P. Schneider
- Applicant Address: US NC Raleigh
- Assignee: Red Hat, Inc.
- Current Assignee: Red Hat, Inc.
- Current Assignee Address: US NC Raleigh
- Agency: Lowenstein Sandler LLP
- Main IPC: G06F9/45
- IPC: G06F9/45 ; G06F9/455 ; G06F9/445

Abstract:
Implementing aspects via callback in a virtual machine, where an aspect weaver weaves the aspect with a module to provide primary and crosscutting functionality in the runtime execution of the module. The virtual machine has multiple modules that are part of an application implementing separation of concerns. Each of the multiple modules has a distinct functionality portion and a common functionality portion, common to all modules. The common functionality is referenced by the virtual machine via callback for the multiple modules. Aspect code is loaded as a callback that is applied to the multiple modules by the virtual machine. Loading the aspect code as a callback can implement the aspect at any point in the modules, including conditional statements, calls to methods of objects or classes, loops, any point in an exception handler, or to monitor changes in variables.
Public/Granted literature
- US20100138815A1 IMPLEMENTING ASPECTS WITH CALLBACKS IN VIRTUAL MACHINES Public/Granted day:2010-06-03
Information query