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.
posted on 2009-03-13 10:18
大胃王的BLOG 阅读(187)
评论(0) 编辑 收藏