反射的概念是由Smith在1982年首次提出的,主要是指程序可以访问、检测和修改它本身状态或行为的一种能力。这一概念的提出很快引发了计算机科学领域关于应用反射性的研究。它首先被程序语言的设计领域所采用,并在Lisp和面向对象方面取得了成绩。其中LEAD/LEAD++ 、OpenC++ 、MetaXa和OpenJava等就是基于反射机制的语言。
使用反射机制(Reflection),可以使程序在运行时通过自省(introspection)了解自己的状态,自己调节(intercession)自己(运行时自动修改程序),即动态地获得新的...
基于798个网页-相关网页
NET compared to traditional method is studied, the basic principle of reflection mechanism is introduced, Examples show that the method herein is rational and helpful to simplify and cut the code and improve the efficiency of development.
NET反射机制的数据处理”相对于传统数据处理方法的优点;介绍了.NET反射机制的基本原理,通过对实例的分析,说明反射机制是可行的,有助于简化和缩短代码,提高开发效率。
参考来源 - 利用.NET反射机制简化业务数据处理—《电脑知识与技术》—2007年第24期—龙源期刊网·2,447,543篇论文数据,部分数据来源于NoteExpress
在这里,某类反射机制必须在客户端实现,以便客户端能够动态地发现该服务的语义和有效的请求格式。
Here, some kind of reflection mechanism must be implemented at the client side, which enables the client to dynamically discover the semantics of the service and format of valid requests.
您可以用其它编程语言创建类似的功能,但Python提供了非常通用的反射机制,而且能够清晰地表达有效性约束。
You could create an analogous capability in other programming languages, but Python provides particularly versatile reflection mechanisms, and allows clear expression of validity constraints.
基于反射机制,提出了一种连接器的组合重用方法。
This paper argues for an approach to composite reuse of connectors based on reflection.
应用推荐