摘要
AOP作为一个基于构件技术的软件开发模型,是对OOP的补充和完善。如何把AOP和现有的构件技术结合起来成为问题的关键。Elastos是基于构件的操作系统,提供了一种基于二进制的AOP的实现,能够灵活地实现基于构件级别的代码的动态插入、拦截,从而提供构件的动态组合以及实现各种功能。介绍了在Elastos上利用CAR构件技术实现AOP编程模型的方法。相比于其它的静态聚合,基于CAR构件系统的AOP模型具有随时聚合、随时拆卸的特点,是真正的面向方面的编程模型。
As a component-based software development model, AOP supplements and improves ODP. How to combine AOP and current component technique becomes the key problem. Elastos, a component - based operating system, provides a binary-based implementation of AOP. It can insert and remove codes on component level, accordingly providing dynamical combination and some other functions. Introduces how to implement AOP programming model using CAR component technique on Elastos. Compared with other static aggregation, the AOP model based on CAR component system that can aggregate and disaggregate at runtime is the real aspect - oriented programming model.
出处
《计算机技术与发展》
2008年第10期9-12,共4页
Computer Technology and Development
基金
国家"863"计划资助项目(2001AA113400)