org.omg.PortableInterceptor
Interface ServerRequestInfo

All Superinterfaces:
IDLEntity sample code for org.omg.CORBA.portable.IDLEntity definition code for org.omg.CORBA.portable.IDLEntity , Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object , RequestInfo sample code for org.omg.PortableInterceptor.RequestInfo definition code for org.omg.PortableInterceptor.RequestInfo , RequestInfoOperations sample code for org.omg.PortableInterceptor.RequestInfoOperations definition code for org.omg.PortableInterceptor.RequestInfoOperations , Serializable sample code for java.io.Serializable definition code for java.io.Serializable , ServerRequestInfoOperations sample code for org.omg.PortableInterceptor.ServerRequestInfoOperations definition code for org.omg.PortableInterceptor.ServerRequestInfoOperations

public interface ServerRequestInfo
extends ServerRequestInfoOperations sample code for org.omg.PortableInterceptor.ServerRequestInfoOperations definition code for org.omg.PortableInterceptor.ServerRequestInfoOperations , RequestInfo sample code for org.omg.PortableInterceptor.RequestInfo definition code for org.omg.PortableInterceptor.RequestInfo , IDLEntity sample code for org.omg.CORBA.portable.IDLEntity definition code for org.omg.CORBA.portable.IDLEntity

Request Information, accessible to server-side request interceptors.

Some attributes and operations on ServerRequestInfo are not valid at all interception points. The following table shows the validity of each attribute or operation. If it is not valid, attempting to access it will result in a BAD_INV_ORDER being thrown with a standard minor code of 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
  1. When ServerRequestInfo is passed to receive_request, there is an entry in the list for every argument, whether in, inout, or out. But only the in and inout arguments will be available.
  2. If the reply_status attribute is not LOCATION_FORWARD, accessing this attribute will throw BAD_INV_ORDER with a standard minor code of 14.
  3. If the servant locator caused a location forward, or thrown an exception, this attribute/operation may not be available in this interception point. NO_RESOURCES with a standard minor code of 1 will be thrown if it is not available.
  4. The operation is not available in this interception point because the necessary information requires access to the target object's servant, which may no longer be available to the ORB. For example, if the object's adapter is a POA that uses a ServantLocator, then the ORB invokes the interception point after it calls ServantLocator.postinvoke()
  5. .

See Also:
ServerRequestInterceptor sample code for org.omg.PortableInterceptor.ServerRequestInterceptor definition code for org.omg.PortableInterceptor.ServerRequestInterceptor

Method Summary
 
Methods inherited from interface org.omg.PortableInterceptor.ServerRequestInfoOperations sample code for org.omg.PortableInterceptor.ServerRequestInfoOperations definition code for org.omg.PortableInterceptor.ServerRequestInfoOperations
adapter_id sample code for org.omg.PortableInterceptor.ServerRequestInfoOperations.adapter_id() definition code for org.omg.PortableInterceptor.ServerRequestInfoOperations.adapter_id() , adapter_name sample code for org.omg.PortableInterceptor.ServerRequestInfoOperations.adapter_name() definition code for org.omg.PortableInterceptor.ServerRequestInfoOperations.adapter_name() , add_reply_service_context sample code for org.omg.PortableInterceptor.ServerRequestInfoOperations.add_reply_service_context(org.omg.IOP.ServiceContext, boolean) definition code for org.omg.PortableInterceptor.ServerRequestInfoOperations.add_reply_service_context(org.omg.IOP.ServiceContext, boolean) , get_server_policy sample code for org.omg.PortableInterceptor.ServerRequestInfoOperations.get_server_policy(int) definition code for org.omg.PortableInterceptor.ServerRequestInfoOperations.get_server_policy(int) , object_id sample code for org.omg.PortableInterceptor.ServerRequestInfoOperations.object_id() definition code for org.omg.PortableInterceptor.ServerRequestInfoOperations.object_id() , orb_id sample code for org.omg.PortableInterceptor.ServerRequestInfoOperations.orb_id() definition code for org.omg.PortableInterceptor.ServerRequestInfoOperations.orb_id() , sending_exception sample code for org.omg.PortableInterceptor.ServerRequestInfoOperations.sending_exception() definition code for org.omg.PortableInterceptor.ServerRequestInfoOperations.sending_exception() , server_id sample code for org.omg.PortableInterceptor.ServerRequestInfoOperations.server_id() definition code for org.omg.PortableInterceptor.ServerRequestInfoOperations.server_id() , set_slot sample code for org.omg.PortableInterceptor.ServerRequestInfoOperations.set_slot(int, org.omg.CORBA.Any) definition code for org.omg.PortableInterceptor.ServerRequestInfoOperations.set_slot(int, org.omg.CORBA.Any) , target_is_a sample code for org.omg.PortableInterceptor.ServerRequestInfoOperations.target_is_a(java.lang.String) definition code for org.omg.PortableInterceptor.ServerRequestInfoOperations.target_is_a(java.lang.String) , target_most_derived_interface sample code for org.omg.PortableInterceptor.ServerRequestInfoOperations.target_most_derived_interface() definition code for org.omg.PortableInterceptor.ServerRequestInfoOperations.target_most_derived_interface()
 
Methods inherited from interface org.omg.PortableInterceptor.RequestInfoOperations sample code for org.omg.PortableInterceptor.RequestInfoOperations definition code for org.omg.PortableInterceptor.RequestInfoOperations
arguments sample code for org.omg.PortableInterceptor.RequestInfoOperations.arguments() definition code for org.omg.PortableInterceptor.RequestInfoOperations.arguments() , contexts sample code for org.omg.PortableInterceptor.RequestInfoOperations.contexts() definition code for org.omg.PortableInterceptor.RequestInfoOperations.contexts() , exceptions sample code for org.omg.PortableInterceptor.RequestInfoOperations.exceptions() definition code for org.omg.PortableInterceptor.RequestInfoOperations.exceptions() , forward_reference sample code for org.omg.PortableInterceptor.RequestInfoOperations.forward_reference() definition code for org.omg.PortableInterceptor.RequestInfoOperations.forward_reference() , get_reply_service_context sample code for org.omg.PortableInterceptor.RequestInfoOperations.get_reply_service_context(int) definition code for org.omg.PortableInterceptor.RequestInfoOperations.get_reply_service_context(int) , get_request_service_context sample code for org.omg.PortableInterceptor.RequestInfoOperations.get_request_service_context(int) definition code for org.omg.PortableInterceptor.RequestInfoOperations.get_request_service_context(int) , get_slot sample code for org.omg.PortableInterceptor.RequestInfoOperations.get_slot(int) definition code for org.omg.PortableInterceptor.RequestInfoOperations.get_slot(int) , operation_context sample code for org.omg.PortableInterceptor.RequestInfoOperations.operation_context() definition code for org.omg.PortableInterceptor.RequestInfoOperations.operation_context() , operation sample code for org.omg.PortableInterceptor.RequestInfoOperations.operation() definition code for org.omg.PortableInterceptor.RequestInfoOperations.operation() , reply_status sample code for org.omg.PortableInterceptor.RequestInfoOperations.reply_status() definition code for org.omg.PortableInterceptor.RequestInfoOperations.reply_status() , request_id sample code for org.omg.PortableInterceptor.RequestInfoOperations.request_id() definition code for org.omg.PortableInterceptor.RequestInfoOperations.request_id() , response_expected sample code for org.omg.PortableInterceptor.RequestInfoOperations.response_expected() definition code for org.omg.PortableInterceptor.RequestInfoOperations.response_expected() , result sample code for org.omg.PortableInterceptor.RequestInfoOperations.result() definition code for org.omg.PortableInterceptor.RequestInfoOperations.result() , sync_scope sample code for org.omg.PortableInterceptor.RequestInfoOperations.sync_scope() definition code for org.omg.PortableInterceptor.RequestInfoOperations.sync_scope()
 
Methods inherited from interface org.omg.PortableInterceptor.RequestInfoOperations sample code for org.omg.PortableInterceptor.RequestInfoOperations definition code for org.omg.PortableInterceptor.RequestInfoOperations
arguments sample code for org.omg.PortableInterceptor.RequestInfoOperations.arguments() definition code for org.omg.PortableInterceptor.RequestInfoOperations.arguments() , contexts sample code for org.omg.PortableInterceptor.RequestInfoOperations.contexts() definition code for org.omg.PortableInterceptor.RequestInfoOperations.contexts() , exceptions sample code for org.omg.PortableInterceptor.RequestInfoOperations.exceptions() definition code for org.omg.PortableInterceptor.RequestInfoOperations.exceptions() , forward_reference sample code for org.omg.PortableInterceptor.RequestInfoOperations.forward_reference() definition code for org.omg.PortableInterceptor.RequestInfoOperations.forward_reference() , get_reply_service_context sample code for org.omg.PortableInterceptor.RequestInfoOperations.get_reply_service_context(int) definition code for org.omg.PortableInterceptor.RequestInfoOperations.get_reply_service_context(int) , get_request_service_context sample code for org.omg.PortableInterceptor.RequestInfoOperations.get_request_service_context(int) definition code for org.omg.PortableInterceptor.RequestInfoOperations.get_request_service_context(int) , get_slot sample code for org.omg.PortableInterceptor.RequestInfoOperations.get_slot(int) definition code for org.omg.PortableInterceptor.RequestInfoOperations.get_slot(int) , operation_context sample code for org.omg.PortableInterceptor.RequestInfoOperations.operation_context() definition code for org.omg.PortableInterceptor.RequestInfoOperations.operation_context() , operation sample code for org.omg.PortableInterceptor.RequestInfoOperations.operation() definition code for org.omg.PortableInterceptor.RequestInfoOperations.operation() , reply_status sample code for org.omg.PortableInterceptor.RequestInfoOperations.reply_status() definition code for org.omg.PortableInterceptor.RequestInfoOperations.reply_status() , request_id sample code for org.omg.PortableInterceptor.RequestInfoOperations.request_id() definition code for org.omg.PortableInterceptor.RequestInfoOperations.request_id() , response_expected sample code for org.omg.PortableInterceptor.RequestInfoOperations.response_expected() definition code for org.omg.PortableInterceptor.RequestInfoOperations.response_expected() , result sample code for org.omg.PortableInterceptor.RequestInfoOperations.result() definition code for org.omg.PortableInterceptor.RequestInfoOperations.result() , sync_scope sample code for org.omg.PortableInterceptor.RequestInfoOperations.sync_scope() definition code for org.omg.PortableInterceptor.RequestInfoOperations.sync_scope()
 
Methods inherited from interface org.omg.CORBA.Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object
_create_request sample code for org.omg.CORBA.Object._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue) definition code for org.omg.CORBA.Object._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue) , _create_request sample code for org.omg.CORBA.Object._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList) definition code for org.omg.CORBA.Object._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList) , _duplicate sample code for org.omg.CORBA.Object._duplicate() definition code for org.omg.CORBA.Object._duplicate() , _get_domain_managers sample code for org.omg.CORBA.Object._get_domain_managers() definition code for org.omg.CORBA.Object._get_domain_managers() , _get_interface_def sample code for org.omg.CORBA.Object._get_interface_def() definition code for org.omg.CORBA.Object._get_interface_def() , _get_policy sample code for org.omg.CORBA.Object._get_policy(int) definition code for org.omg.CORBA.Object._get_policy(int) , _hash sample code for org.omg.CORBA.Object._hash(int) definition code for org.omg.CORBA.Object._hash(int) , _is_a sample code for org.omg.CORBA.Object._is_a(java.lang.String) definition code for org.omg.CORBA.Object._is_a(java.lang.String) , _is_equivalent sample code for org.omg.CORBA.Object._is_equivalent(org.omg.CORBA.Object) definition code for org.omg.CORBA.Object._is_equivalent(org.omg.CORBA.Object) , _non_existent sample code for org.omg.CORBA.Object._non_existent() definition code for org.omg.CORBA.Object._non_existent() , _release sample code for org.omg.CORBA.Object._release() definition code for org.omg.CORBA.Object._release() , _request sample code for org.omg.CORBA.Object._request(java.lang.String) definition code for org.omg.CORBA.Object._request(java.lang.String) , _set_policy_override sample code for org.omg.CORBA.Object._set_policy_override(org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType) definition code for org.omg.CORBA.Object._set_policy_override(org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType)