首页 | 本学科首页   官方微博 | 高级检索  
     


Access control in feature-oriented programming
Authors:Sven Apel  Sergiy Kolesnikov
Affiliation:
  • a Department of Informatics and Mathematics, University of Passau, Germany
  • b Department of Computer Science and Mathematics, University of Marburg, Germany
  • c School of Computer Science, University of Magdeburg, Germany
  • d Metop Research Center, Magdeburg, Germany
  • Abstract:In feature-oriented programming (FOP) a programmer decomposes a program in terms of features. Ideally, features are implemented modularly so that they can be developed in isolation. Access control mechanisms in the form of access or visibility modifiers are an important ingredient to attain feature modularity as they allow programmers to hide and expose internal details of a module’s implementation. But developers of contemporary feature-oriented languages have not considered access control mechanisms so far. The absence of a well-defined access control model for FOP breaks encapsulation of feature code and leads to unexpected program behaviors and inadvertent type errors. We raise awareness of this problem, propose three feature-oriented access modifiers, and present a corresponding access modifier model. We offer an implementation of the model on the basis of a fully-fledged feature-oriented compiler. Finally, by analyzing ten feature-oriented programs, we explore the potential of feature-oriented modifiers in FOP.
    Keywords:Feature-oriented programming  Feature modularity  Access control  Access modifier model  Fuji" target="_blank">Fuji
    本文献已被 ScienceDirect 等数据库收录!
    设为首页 | 免责声明 | 关于勤云 | 加入收藏

    Copyright©北京勤云科技发展有限公司  京ICP备09084417号