public interface ServerRequestInfo extends ServerRequestInfoOperations, RequestInfo, IDLEntity
在ServerRequestInfo
一些属性和操作不适用於所有拦截点。下表显示了每个属性或操作的有效性。如果它是无效的,试图访问它会导致一个BAD_INV_ORDER
抛出一个标准的小代码14。
receive_request_ service_contexts |
receive_request | send_reply | send_exception | send_other | |
---|---|---|---|---|---|
Inherited from RequestInfo: | |||||
request_id |
yes | yes | yes | yes | yes |
operation |
yes | yes | yes | yes | yes |
arguments |
no | yes1 | yes | no2 | no2 |
exceptions |
no | yes | yes | yes | yes |
contexts |
no | yes | yes | yes | yes |
operation_context |
no | yes | yes | no | no |
result |
no | no | yes | no | no |
response_expected |
yes | yes | yes | yes | yes |
sync_scope |
yes | yes | yes | yes | yes |
request_id | yes | yes | yes | yes | yes |
operation | yes | yes | yes | yes | yes |
arguments | no | yes1 | yes | no2 | no2 |
exceptions | no | yes | yes | yes | yes |
contexts | no | yes | yes | yes | yes |
operation_context | no | yes | yes | no | no |
result | no | no | yes | no | no |
response_expected | yes | yes | yes | yes | yes |
sync_scope | yes | yes | yes | yes | yes |
reply_status | no | no | yes | yes | yes |
forward_reference | no | no | no | no | yes2 |
get_slot | yes | yes | yes | yes | yes |
get_request_service_context | yes | no | yes | yes | yes |
get_reply_service_context | no | no | yes | yes | yes |
ServerRequestInfo-specific: | |||||
sending_exception | no | no | no | yes | no |
object_id | no | yes | yes | yes3 | yes3 |
adapter_id | no | yes | yes | yes3 | yes3 |
server_id | no | yes | yes | yes | yes |
orb_id | no | yes | yes | yes | yes |
adapter_name | no | yes | yes | yes | yes |
target_most_derived_interface | no | yes | no4 | no4 | no4 |
get_server_policy | yes | yes | yes | yes | yes |
set_slot | yes | yes | yes | yes | yes |
target_is_a | no | yes | no4 | no4 | no4 |
add_reply_service_context | yes | yes | yes | yes | yes |
ServerRequestInfo
传递给receive_request
,有一个条目列表中的每个参数,是否,inout,或。但只有在和INOUT参数可。reply_status
属性不LOCATION_FORWARD
,访问该属性将BAD_INV_ORDER
与标准的小代码14。NO_RESOURCES
将如果不能丢。ServantLocator
,然后ORB调用拦截点后打电话ServantLocator.postinvoke()
ServerRequestInterceptor
adapter_id, adapter_name, add_reply_service_context, get_server_policy, object_id, orb_id, sending_exception, server_id, set_slot, target_is_a, target_most_derived_interface
arguments, contexts, exceptions, forward_reference, get_reply_service_context, get_request_service_context, get_slot, operation_context, operation, reply_status, request_id, response_expected, result, sync_scope
_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
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.