A State-based Join Point Model for AOP
نویسندگان
چکیده
The implementation of crosscutting concerns in a safety-critical system needs constant system state monitoring and responding to particular (desirable or undesirable) system states. Such states and their transition cannot easily be captured by low-level fixed code-based behavioural join points exposed by current AOP join point models. In order to find ways to implement crosscutting concerns in such a system using current available join point models, a programmer is forced to write code that does not clearly represent the programmer’s intention or map to the system designs it is supposed to implement, e.g., statetransition models pertaining to fault tolerance. In this paper we present the fundamental basis for a high level join point model which is based on state transitions. By defining system states pertaining to a crosscutting concern as aspects and using the transitions of these states as join points, the proposed State-based Join Point Model offers a high-level means of defining and capturing crosscutting concerns of a safety-critical system.
منابع مشابه
A Fine-Grained Join Point Model for More Reusable Aspects
We propose a new join point model for aspect-oriented programming (AOP) languages. In most AOP languages including AspectJ, a join point is a time interval of an action in execution. While those languages are widely accepted, they have problems in aspects reusability, and awkwardness when designing advanced features such as tracematches. Our proposed join point model, namely the point-in-time j...
متن کاملSemantic Join Point Models: Motivations, Notions and Requirements
Aspect-oriented programming (AOP) has been designed to provide a better separation of concerns at development level by modularizing concerns that would otherwise be tangled and scattered across other concerns. Current mainstream AOP techniques separate crosscutting concerns on a syntactic basis whereas a concern is more a semantic matter. Therefore, a different, more semanticoriented, approach ...
متن کاملA Programming Model Integrating Classes, Events and Aspects. (Un modèle de programmation intégrant classes, événements et aspects)
Object-Oriented Programming (OOP) has become the de facto programming paradigm. Event-Based Programming (EBP) and Aspect-Oriented Programming (AOP) complement OOP, covering some of its deficiencies when building complex software. Today’s applications combine the three paradigms. However, OOP, EBP and AOP have not yet been properly integrated. Their underlying concepts are in general provided as...
متن کاملAn AOP Implementation Framework for Extending Join Point Models
Mechanisms in AOP (aspect-oriented programming) can be characterized by a JPM (join point model). AOP is effective in unanticipated software evolution because crosscutting concerns can be added or removed without making invasive modifications on original programs. However, the effectiveness would be restricted if new crosscutting concerns cannot be described with existing JPMs. Mechanisms for e...
متن کاملBlueprint: a High-level Pattern Based Aop Language Blueprint: a High-level Pattern Based Aop Language Title: Blueprint: a High-level Pattern Based Aop Language Acknowledgements
Nowadays, aspect-oriented techniques are widely used to better modularize object-oriented programs by introducing crosscutting concerns in a safe and non invasive way, i.e., aspect-oriented mechanisms better address the modularization of functionality that orthogonally crosscut the implementation of the application. The high modularization is done by three main concepts: encapsulation of crossc...
متن کامل