|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.omg.PortableServer.Servant
org.omg.CosNaming.BindingIteratorPOA
public abstract class BindingIteratorPOA
BindingIterator 接口允许客户端使用 next_one 或 next_n 操作迭代绑定。 通过使用 NamingContext 上的 list 方法可以获取绑定迭代器。
NamingContextOperations.list(int, org.omg.CosNaming.BindingListHolder, org.omg.CosNaming.BindingIteratorHolder)| 构造方法摘要 | |
|---|---|
BindingIteratorPOA()
|
|
| 方法摘要 | |
|---|---|
String[] |
_all_interfaces(POA poa,
byte[] objectId)
ORB 使用此操作从 servant 获取完整的类型信息。 |
OutputStream |
_invoke(String $method,
InputStream in,
ResponseHandler $rh)
由 ORB 调用来调度对 servant 的请求。 |
BindingIterator |
_this()
|
BindingIterator |
_this(ORB orb)
|
| 从类 org.omg.PortableServer.Servant 继承的方法 |
|---|
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 从接口 org.omg.CosNaming.BindingIteratorOperations 继承的方法 |
|---|
destroy, next_n, next_one |
| 构造方法详细信息 |
|---|
public BindingIteratorPOA()
| 方法详细信息 |
|---|
public OutputStream _invoke(String $method,
InputStream in,
ResponseHandler $rh)
InvokeHandler 复制的描述1. 确定正确的方法和 InputStream 中的已解组参数。
2. 调用方法实现。
3. 如果没有任何用户异常,则使用 ResponseHandler 创建一个正常应答。
4. 如果发生用户异常,则使用 ResponseHandler 创建异常。
5. ResponseHandler 将编组应答返回到 OutputStream。
6. 将 OutputStream 返回到 ORB。
InvokeHandler 中的 _invoke$method - 方法名称。in - 包含已编组参数的 InputStream。$rh - servant 用来构造正确应答的 ResponseHandler。
OutputStream。
public String[] _all_interfaces(POA poa,
byte[] objectId)
Servant 复制的描述
Servant 中的 _all_interfacespoa - 与 servant 关联的 POA。objectId - 对应于与此 servant 关联的对象的 id。
public BindingIterator _this()
public BindingIterator _this(ORB orb)
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。