A light-weight load-time weaving approach for OSGi

  • Authors:
  • Thorsten Keuler;Yury Kornev

  • Affiliations:
  • Fraunhofer Institute for Experimental Software Engineering, Kaiserslautern;Fraunhofer Institute for Experimental Software Engineering, Kaiserslautern

  • Venue:
  • Proceedings of the 2008 workshop on Next generation aspect oriented middleware
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

In the context of dynamic, component-based systems, the OSGi platform (Open Standard Gateway Initiative) supports the dynamic deployment of software services in form of so-called bundles. Since aspect-oriented programming offers facilities for managing crosscutting code adaptations efficiently, OSGi needs to be equipped with that kind of capabilities. Existing approaches (e.g. JBOSS-AOP) for aspect-oriented programming, however, have to be adapted due to restricted class visibility within OSGi. To that end, approaches that are intended to be used with OSGi have to be supported in terms of physically separating aspect code from concrete pointcut implementations. Existing efforts that aim at integrating AOP technology with OSGi have shown some insufficiencies. Some even require the OSGi specification to be extended. In this paper, we show a concept that enables a light-weight integration of AOP by enabling customized load-time weaving within OSGi without having to change the platform at all.