public abstract class NamingContextExtPOA extends Servant implements NamingContextExtOperations, InvokeHandler
NamingContextExt
是
NamingContext
包含一组名字的绑定中的每个名字都是独特的,是可互操作的命名服务部分的延伸。不同的名称可以绑定到同一个或不同的上下文中的对象在同一时间。使用
NamingContextExt,你可以使用基于URL的名称绑定和解决。
Constructor and Description |
---|
NamingContextExtPOA() |
Modifier and Type | Method and Description |
---|---|
String[] |
_all_interfaces(POA poa, byte[] objectId)
通过ORB用于从仆人获得完整的类型信息。
|
OutputStream |
_invoke(String $method, InputStream in, ResponseHandler $rh)
通过ORB调用调度要求的仆人。
|
NamingContextExt |
_this() |
NamingContextExt |
_this(ORB orb) |
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resolve_str, to_name, to_string, to_url
bind_context, bind_new_context, bind, destroy, list, new_context, rebind_context, rebind, resolve, unbind
public OutputStream _invoke(String $method, InputStream in, ResponseHandler $rh)
InvokeHandler
1。确定正确的方法,从数据的输入参数。
2。调用方法实现。
三.如果没有用户例外,创建使用responsehandler正常回复。
4。如果用户出现异常,异常的回复使用responsehandler创造。
5。通过responsehandler返回元帅回复到输出流。
6。返回到ORB OutputStream。
_invoke
接口
InvokeHandler
$method
的方法名称。
in
含有参数的
InputStream
整理。
$rh
,仆人用构建合适的答复
ResponseHandler
OutputStream
public String[] _all_interfaces(POA poa, byte[] objectId)
Servant
_all_interfaces
方法重写,继承类
Servant
poa
- POA的仆人是相关的。
objectId
-对应于这个仆人相关的对象的ID。
public NamingContextExt _this()
public NamingContextExt _this(ORB orb)
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.