public class _ServantLocatorStub extends ObjectImpl implements ServantLocator
| Constructor and Description |
|---|
_ServantLocatorStub() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
_ids()
检索包含此
ObjectImpl对象支持的存储库标识符的字符串数组。
|
void |
postinvoke(byte[] oid, POA adapter, String operation, Object the_cookie, Servant the_servant)
在服务器完成请求时调用此操作。
|
Servant |
preinvoke(byte[] oid, POA adapter, String operation, CookieHolder the_cookie)
此操作用于获取将用于处理引起preinvoke调用的请求的servant。
|
_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, toStringclone, 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_overridepublic static final 类 _opsClass
public Servant preinvoke(byte[] oid, POA adapter, String operation, CookieHolder the_cookie) throws ForwardRequest
preinvoke在接口
ServantLocatorOperations
oid - 与请求的对象相关
oid的对象标识。
adapter - 对象被激活的POA的引用。
operation - 操作名称。
the_cookie - 可以由仆人管理器设置的不透明值,以便在postinvoke期间使用。
ForwardRequest - 向ORB指示它负责将当前请求和后续请求传递给异常的forward_reference成员中表示的对象。
public void postinvoke(byte[] oid,
POA adapter,
String operation,
Object the_cookie,
Servant the_servant)
postinvoke在界面
ServantLocatorOperations
oid - 与请求的对象
oid的对象标识。
adapter - 对象活动的POA的引用。
the_cookie - 包含由preinvoke设置的数据的不透明值。
the_servant - 与对象关联的servant的引用。
public String[] _ids()
ObjectImpl复制
ObjectImpl对象支持的存储库标识符的字符串数组。
例如,对于stub,此方法返回有关stub支持的所有接口的信息。
_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.