摘要
基于反射技术,提出一种自适应软构件的反射结构模型。在此基础上,设计用于描述软构件自身特征的元对象,并通过元对象协议中的方法调用支持构件运行时的变化。通过实例说明应用反射技术,提高构件灵活性和适应性。
Firstly,a reflective model of adaptive component has been proposed.Then,the meta-object which describes structural and behavioral features of the component has been introduced.The meta-object protocol(MOP)is designed to adapt to rapidly changing requirements.At last the instance shows that reflection is effective to improve the flexibility and adaptability of component.
出处
《计算机与数字工程》
2008年第3期39-41,56,共4页
Computer & Digital Engineering
基金
浙江省自然科学基金项目(编号:Y106603)资助
关键词
自适应性
软构件
反射
元对象协议
adaptive,component,reflection,meta-object protocol