JavaTM Platform
Standard Ed. 6

org.omg.PortableInterceptor
인터페이스 ServerRequestInfo

모든 슈퍼 인터페이스:
IDLEntity , Object , RequestInfo , RequestInfoOperations , Serializable , ServerRequestInfoOperations


public interface ServerRequestInfo
extends ServerRequestInfoOperations , RequestInfo , IDLEntity

서버측의 요구 인타세프타를 액세스 할 수 있는 요구 정보입니다.

ServerRequestInfo 에 대한 일부의 속성이나 조작은, 모든 차단점으로써 유효하다라고는 한정하지 않습니다. 다음의 겉(표)에, 각 속성 또는 조작의 유효성을 나타냅니다. 유효하지 않은 속성이나 조작에 액세스 하려고 하면(자), 표준 마이너 코드 14 가 설정된 BAD_INV_ORDER 가 throw 됩니다.

  receive_request_
service_contexts
receive_request send_reply send_exception send_other
RequestInfo 로부터 상속된다:

request_id

operation

arguments

아니오 1 아니오2 아니오2

exceptions

아니오

contexts

아니오

operation_context

아니오 아니오 아니오

result

아니오 아니오 아니오 아니오

response_expected

sync_scope

request_id
operation
arguments 아니오 1 아니오2 아니오2
exceptions 아니오
contexts 아니오
operation_context 아니오 아니오 아니오
result 아니오 아니오 아니오 아니오
response_expected
sync_scope
reply_status 아니오 아니오
forward_reference 아니오 아니오 아니오 아니오 2
get_slot
get_request_service_context 아니오
get_reply_service_context 아니오 아니오
ServerRequestInfo 고유:
sending_exception 아니오 아니오 아니오 아니오
object_id 아니오 3 3
adapter_id 아니오 3 3
server_id 아니오
orb_id 아니오
adapter_name 아니오
target_most_derived_interface 아니오 아니오4 아니오4 아니오4
get_server_policy
set_slot
target_is_a 아니오 아니오4 아니오4 아니오4
add_reply_service_context
  1. ServerRequestInforeceive_request 에게 건네질 때는, 각 인수의 리스트에 in, inout, out 의 어떤 것인가의 엔트리가 있습니다만, 사용할 수 있는 것은, in 와 inout 의 인수 뿐입니다.
  2. reply_status 속성이 LOCATION_FORWARD 가 아닌 경우는, 이 속성에 액세스 하면(자), 표준 마이너 코드 14 가 설정된 BAD_INV_ORDER 가 throw 됩니다.
  3. 서번트 locator에 의해 위치 전송을 했는지, 예외가 throw 되었을 경우, 이 속성/조작이 이 차단점으로써 사용할 수 없게 될 가능성이 있습니다. 사용할 수 없는 경우는, 표준 마이너 코드 1 이 설정된 NO_RESOURCES 가 throw 됩니다.
  4. 필요한 정보가 타겟 객체의 서번트에게 액세스 할 필요가 있는데, ORB 가 더 이상 그 서번트를 사용할 수 없을 가능성이 있기 (위해)때문에, 이 조작은 이 차단점으로써 사용할 수 없습니다. 예를 들어, 객체의 어댑터가 ServantLocator 를 사용하는 POA 인 경우, ORB 는 ServantLocator.postinvoke() 를 호출한 후에 이 차단점을 호출합니다.
  5. .

관련 항목:
ServerRequestInterceptor

메소드의 개요
 
인터페이스 org.omg.PortableInterceptor. ServerRequestInfoOperations 로부터 상속된 메소드
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
 
인터페이스 org.omg.PortableInterceptor. RequestInfoOperations 로부터 상속된 메소드
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
 
인터페이스 org.omg.CORBA. Object 로부터 상속된 메소드
_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
 


JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.