Dynamic Weaving AOP Technology Based on CAR
- Author
- YinBo
- Advisor
- ZhaoYueSong
- School
- Wuhan University of Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 60
- Citations
- 0
Abstract
In a complex system, there is often the need to deal with some common behavior action between a group of unrelated object module, common behavior action can be called the \they are across multiple core module of the system, such as logging, transaction management, performance optimization, error handling, and design patterns. Either scattered (Scattering implementation of these concerns must be interspersed in the problem areas in the code, so that the implementation of such concerns, a concern dispersed everywhere in the code) or mixed (Tangling describe a software module concern to achieve). These crosscutting concerns whether it is a process-oriented or object-oriented programming (OOP), and are difficult to achieve with clear, modular code. Aspect Oriented Programming (AOP) these crosscutting concerns can automatically woven into object-oriented software systems, enabling the modularization of crosscutting concerns. Section is the core of the AOP, is to focus on a possible cross-section of different multiple objects modular, these modular units called \AOP in the same time to help us solve the problem of code scattered and hybridity, there are other benefits: (1) The system is easy to extend. Section allows programmers come into contact with the contact surface of the multiple functions on the basis of the original easily by adding a new section to extend the original function. (2) is easy to upgrade. AOP, designers can postpone for the future needs to make decisions to achieve the critical needs, and the needs of the future updates section coupled with the previous requirements. (3) better code reuse. The ultimate goal of the new programming techniques for code reuse, AOP each section is implemented as an independent module is a loose coupling between modules, easier to understand and maintain code redundancy is also smaller, easier to complex with. Of course, in the horizontal linkages between the objects is not very frequent occasions, AOP is not necessarily more than OOP advantage, sometimes even using AOP but not as good OOP natural AOP just OOP supplement in some applications. AOP loose coupling between software modules, to improve the maintainability and reusability of software OOP further improvements can be said. And CAR (component assembly runtime) welcomes operating system component interface component classes and associated metadata by which it is defined. CAR-based AOP mechanism enables users simple and convenient in the case of completely without modifying the source code dynamic aggregation of two or more of the CAR component class, thereby generating a new member with two or more CAR component class interface implementation classes. AOP technology to achieve a dynamic aspect will be woven code.
Table of contents
The Chinese summary 3-4
ABSTRACT 4-8
Chapter the AOP Summary 8-20
1.1 Why do we need AOP -9
1.2 AOP essential characteristics 9-10
1.3 AOP new concept introduced 10-11
1.4 An example 11 - 20
and welcomes the operating system overview 20-35
2.1 and welcomes the embedded operating system 20-25
2.1.1 and welcomes the origin of the technology 20-21
2.1.2, and welcomes embedded operating system Introduction the 21-22 2.1.3 and
Introduction to Xin flexible kernel 22-23 <br / > 2.1.4 utilization and welcomes member platform programming 23-24
the 2.1.5 and welcomes advantage 24-25
2.2 CAR component technology 25-35 The origin of the
2.2.1 CAR technology 26-28
2.2.2 CAR Component Technology of Summary 28-29
2.2.3 CAR Technical characteristics 29-31
2.2.4 CAR technical advantages of special significance 31
2.2.5 CAR technical software engineering 31-33
2.2.6 the role of of CAR technology in the system \ the 35-38
3.1 What is metadata 35
3.2 METADATA JOIN POINT model the elements 35-36
3.3 utilize data capture JOINPOINT 36-38
Chapter member self-describing 38-48
4.1 on CAR component self-described basic idea 38-39
4.2 CAR language and components metadata the 39-44
4.2.1 CAR languages ?? 39-40
4.2.2 the CAR component yuan data (metadata) 40-41
the a 4.2.3 ClassInfo 41-42
the 4.2.4 ClassInfo interpretation and related API 42-44
4.3 components import information (IMPORTINFO), 44 - 47
4.3.1 component import necessity 44-45
4.3 2 ImportInfo constitute 45
4.3 importInfo the generated 45-46
4.3.4 component-based import information component caching mechanism 46-47
4.3.5 import component-based member self-scrolling run and dynamic upgrade 47
4.4 Interface with self-describing data types the 47-48
Chapter of CAR-based AOP implementations 48-59
5.1 reusable 48-49 < br /> 5.2 ASPECT member class 49-52
5.3 the CONTEXT component class 52-54
5.3.1 What is an object environment 52-53 <br / > the 5.3.2 object environment to enter and leave the 53-54
5.4 dynamic polymerization 54-59
5.4.1 dynamic polymerization 55-57 <br / > 5.4.2 multi-surface polymerization 57-58
5.4.3 dynamic solution polymerization 58-59
sixth. chapter summarizes 59-60
Reference literature 60-63
Acknowledgements 63-64
Appendix 64-
Related dissertations
- Component-based ePortfolio system design and development
- Aspect-oriented software development method and its application in distributed systems Application Development
- An Component Approach to Build Message Oriented Application
- Analysis of the Effect of IPO Lock-up Period Expiration in Chinese Stock Market
- The Long-run Performance of IPOs in SME Board and the Vital Factors
- Empirical Study of Pead Phenomenon in the A-share Market
- Research on Effect of New Capital Adequacy Ratio Supervision on Credit Behavior of Chinese Commercial Banks
- Research of Tourism E-commerce Metadata Model of SaaS
- Research on Governance Mechanism of Membership-based Golf Club in China
- Empirical Research of the Long-run Performance of IPO Stocks in A-Share Market of China
- Design and Realization of Daqing Oilfield Downhole Data Collection
- The Reserch of Improving CPE Control System Based on Fuzzy Neural Network
- Research on Access Control Model Based on EGR-RBAC and Spring Security Framework
- Research and Design on Key Technologies of the Mobile Internet Service Resource Management
- Describe on Metadata of the Value of Archival Web Information
- Design and Implementation of Music Database System
- Research on the Metadata Management of Multi Namenodes Based on HDFS
- Replica Consistency Management Stratege of Metadata Cluster for Key-value Stores
- Design and Realization of Meteorological Data Sharing System Based on Metadata
- The Supermarket Information Management System Design and Implementation