public abstract class NamingContextPOA extends Servant implements NamingContextOperations, InvokeHandler
Constructor and Description |
---|
NamingContextPOA() |
Modifier and Type | Method and Description |
---|---|
String[] |
_all_interfaces(POA poa, byte[] objectId)
通过ORB用于从仆人获得完整的类型信息。
|
OutputStream |
_invoke(String $method, InputStream in, ResponseHandler $rh)
通过ORB调用调度要求的仆人。
|
NamingContext |
_this() |
NamingContext |
_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
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 NamingContext _this()
public NamingContext _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.