Open services gateway initiative (OSGi)-based software component monitoring method and system
A software component and monitoring point technology, applied in the field of software componentization, can solve the problems of low overhead, high resource monitoring overhead, inaccuracy, etc., and achieve the effect of low overhead and reduced system overhead.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0059] The present invention will be further described below through specific embodiments in conjunction with the accompanying drawings.
[0060] 1. Implementation of monitoring point injector
[0061] The code injection function of the monitoring point injector is considered from three aspects: the injection method, the injection location and the injection content.
[0062] (1) Implementation technology: ASM is used as the Java bytecode manipulation framework to implement dynamic injection of class codes when OSGi and software components are loaded.
[0063] (2) OSGi injection: When a software component is deployed to OSGi, OSGi first automatically completes the parsing of the Manifest metafile of the software component, and the injector injects code at the position after each software component parsing in OSGi. The content of this piece of code is to establish a connection with the central bridge, and transmit the information of the export package of the software component ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 