Font Size: a A A

Based On The Equinox Osgi Component Monitoring Module In The Research And Design

Posted on:2013-12-31Degree:MasterType:Thesis
Country:ChinaCandidate:X W YanFull Text:PDF
GTID:2248330371467670Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
With the development of software engineering, the importance of modular gradually reflected.OSGI provides a platform to components-based softeare development model. User can use the services provided by fundation bundle to create their own applications on the platform. OSGI-based components are hot-swappable so it can be modified and upgraded easily. Existing JVM monitoring tools can monitor only the resources consumed of the entire JVM, but because of JVM hides the information of resources consumed by OSGI component, so the traditional monitoring methods can hardly monitor the OSGI-based components running on the Equinox which makes the present of an effective way to monitor the OSGI component becomes very necessary. This work introduces a monitoring module for OSGI-based software components which runs on OSGI-based platform named Equinox. Firstly, analysis of the framework of Equinox will be invoved which contains three major components: Framework, Context, Bundle; And then, analyse the source code of Equinox; Secondly, propose a comprehensive complete design of monitoring module after analyzing the special character of monitoring the OSGI components; And then gives the detailed design of two major part of monitoring module:Monitor Agent and Info Agent; Thirdly, implements the Monitor Agent by JVMTI and BCI, implements the Info Agent by modify the source code of Equinox; After that, monitoring module provide a web-based management page to users in the form of tables and line graph, in addition, monitoring module also provides some control operations for users. At end of the paper, experiments show not only the veracity and the timeliness of obtaining the information about bundles but also the availability of control operation. In the over all design, the monitoring module is devided into two major parts:Monitor Agent and Info Agent according to the different source of monitoring information, with this desin, each part can collect the information with out intergere with each other, and also make it easy to maintain and upgrade. Using JVMTI and BCI to monitor the information of CPU usage and memory usage make Monitor Agent more accurate and easy to extend. This monitoring module can be easily embedded in OSGI platform based on Equinox to improve the system of monitoring and improve the system availability.
Keywords/Search Tags:osgi, equinox, jvmti, monitoring module
PDF Full Text Request
Related items