对Java中"上下文"(context)的理解
http://www.diybl.com/ 2008-1-5 网络 点击:
[ 评论 ]
文章搜索:
【点击打包该文章】
A naming service associates names with objects. An association between a name and an object is called a binding, and a set of such bindings is called a context. A name in a context can be bound to another context that uses the same naming conventions; the bound context is called a subcontext. For example, in a filesystem, a directory (such as /temp) is a context that contains bindings between filenames and objects that the system can use to manipulate the files (often called file handles). If a directory contains a binding for another directory (e.g., /temp/javax), the subdirectory is a subcontext.
从上面的文字来看,觉得所谓“上下文”就是一组名字和对象之间的联系,不知道这样理解对不对。。。
如果图片或页面不能正常显示请点击这里 站内搜索:
推荐文章 |
