摘要
传统构件技术的包容都是静态的,这显然不利于使用,而设计一种动态包容技术将大大增加构件的灵活性。基于CAR构件设计并实现了一种动态包容技术,此技术充分利用了CAR的基于二进制的AOP编程模型,将包容器设计成方面构件类AObjectContainer,从而使聚合了AObjectContainer的普通构件类轻松地具有了包容能力。此方法具有使用简单,可动态控制被包容对象等特点。
Because the containers of common component is static, use them inconveniently. So in this paper, design and implement a container based on CAR. This technique uses CAR AOP model based on binary system adequately. It designs container to be an aspect component dass:AObjectContainer. So a normal component class will simply have the ability of containing if it has aggregated AObjectContaine,. This technique has many characteristics such as simply using and dynamically controlling class being contained.
出处
《计算机技术与发展》
2008年第12期15-18,共4页
Computer Technology and Development
基金
国家863计划资助项目(2001AA113400)
国家移动通信产品研究开发专项项目(财政部(财建[2005]182号)
信息产业部项目(信部请函[2005]297号))