public class _NamingContextStub extends ObjectImpl implements NamingContext
Constructor and Description |
---|
_NamingContextStub() |
Modifier and Type | Method and Description |
---|---|
String[] |
_ids()
检索包含该
ObjectImpl 对象支持库标识符字符串数组。
|
void |
bind_context(NameComponent[] n, NamingContext nc)
命名一个对象,这个对象是一个命名上下文。
|
NamingContext |
bind_new_context(NameComponent[] n)
此操作创建一个新的上下文,并将其绑定到作为参数提供的名称中。
|
void |
bind(NameComponent[] n, Object obj)
在命名上下文中创建一个名称和一个对象的绑定。
|
void |
destroy()
销毁操作将删除一个命名上下文。
|
void |
list(int how_many, BindingListHolder bl, BindingIteratorHolder bi)
列表操作允许客户端遍历一个命名上下文设置绑定。
|
NamingContext |
new_context()
此操作返回由同一个命名服务器实现的命名上下文,作为调用该操作的上下文。
|
void |
rebind_context(NameComponent[] n, NamingContext nc)
在命名上下文中创建一个绑定的名称和一个命名上下文,即使名称已在上下文中绑定了。
|
void |
rebind(NameComponent[] n, Object obj)
在命名上下文中创建一个名称和一个对象的绑定,即使名称已在上下文中绑定了。
|
Object |
resolve(NameComponent[] n)
解析操作是在一个给定的上下文中检索一个绑定到名称的对象的过程。
|
void |
unbind(NameComponent[] n)
的绑定操作从上下文删除绑定的名字。
|
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
public void bind(NameComponent[] n, Object obj) throws NotFound, CannotProceed, InvalidName, AlreadyBound
bind
接口
NamingContextOperations
n
-对象的
名称
obj
-具有给定名称的
绑定对象
NotFound
-表示该名称不能识别的结合。
CannotProceed
-表明实施已经因为某些原因放弃了。客户端,但是,可以在返回的命名上下文中继续操作。
InvalidName
-显示名称无效。
AlreadyBound
-表示一个对象已绑定到指定的名称。
public void bind_context(NameComponent[] n, NamingContext nc) throws NotFound, CannotProceed, InvalidName, AlreadyBound
bind_context
接口
NamingContextOperations
n
-对象的
名称
nc
- namingcontect对象与给定的名称
绑定
NotFound
-表示该名称不能识别的结合。
CannotProceed
-表明实施已经因为某些原因放弃了。客户端,但是,可以在返回的命名上下文中继续操作。
InvalidName
-显示名称无效。
AlreadyBound
-表示一个对象已绑定到指定的名称。
public void rebind(NameComponent[] n, Object obj) throws NotFound, CannotProceed, InvalidName
rebind
接口
NamingContextOperations
n
-对象的
名称
obj
-绑定的名字
对象
NotFound
-表示该名称不能识别的结合。
CannotProceed
-表明实施已经因为某些原因放弃了。客户端,但是,可以在返回的命名上下文中继续操作。
InvalidName
-显示名称无效。
public void rebind_context(NameComponent[] n, NamingContext nc) throws NotFound, CannotProceed, InvalidName
rebind_context
接口
NamingContextOperations
n
-对象的
名称
nc
- namingcontect对象绑定的名字
NotFound
-表示该名称不能识别的结合。
CannotProceed
-表明实施已经因为某些原因放弃了。客户端,但是,可以在返回的命名上下文中继续操作。
InvalidName
-显示名称无效。
public Object resolve(NameComponent[] n) throws NotFound, CannotProceed, InvalidName
resolve
接口
NamingContextOperations
n
-对象的
名称
NotFound
-表示该名称不能识别的结合。
CannotProceed
-表明实施已经因为某些原因放弃了。客户端,但是,可以在返回的命名上下文中继续操作。
InvalidName
-显示名称无效。
public void unbind(NameComponent[] n) throws NotFound, CannotProceed, InvalidName
unbind
接口
NamingContextOperations
n
-对象的
名称
NotFound
-表示该名称不能识别的结合。
CannotProceed
-表明实施已经因为某些原因放弃了。客户端,但是,可以在返回的命名上下文中继续操作。
InvalidName
-显示名称无效。
public void list(int how_many, BindingListHolder bl, BindingIteratorHolder bi)
列表操作返回请求的数量最多的绑定BindingList BL.
list
接口
NamingContextOperations
how_many
-绑定的最大数目
返回
bl
-返回列表绑定
bi
-返回的迭代器
结合
public NamingContext new_context()
new_context
接口
NamingContextOperations
public NamingContext bind_new_context(NameComponent[] n) throws NotFound, AlreadyBound, CannotProceed, InvalidName
bind_new_context
接口
NamingContextOperations
n
-对象的
名称
NotFound
-表示该名称不能识别的结合。
AlreadyBound
-表示一个对象已绑定到指定的名称。
CannotProceed
-表明实施已经因为某些原因放弃了。客户端,但是,可以在返回的命名上下文中继续操作。
InvalidName
-显示名称无效。
public void destroy() throws NotEmpty
destroy
接口
NamingContextOperations
NotEmpty
-表明命名上下文包含绑定。
public String[] _ids()
ObjectImpl
ObjectImpl
对象支持库标识符字符串数组。例如,对于一个存根,该方法返回存根所支持的所有接口的信息。
_ids
方法重写,继承类
ObjectImpl
ObjectImpl
库标识符实例支持的阵列
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.