public final class ServerRequestInfoImpl extends RequestInfoImpl implements ServerRequestInfo
| Modifier and Type | Field and Description |
|---|---|
protected static int |
MID_ADAPTER_ID |
protected static int |
MID_ADAPTER_NAME |
protected static int |
MID_ADD_REPLY_SERVICE_CONTEXT |
protected static int |
MID_GET_SERVER_POLICY |
protected static int |
MID_OBJECT_ID |
protected static int |
MID_ORB_ID |
protected static int |
MID_SENDING_EXCEPTION |
protected static int |
MID_SERVER_ID |
protected static int |
MID_SET_SLOT |
protected static int |
MID_TARGET_IS_A |
protected static int |
MID_TARGET_MOST_DERIVED_INTERFACE |
alreadyExecuted, connection, currentExecutionPoint, endingPointCall, exception, EXECUTION_POINT_ENDING, EXECUTION_POINT_INTERMEDIATE, EXECUTION_POINT_STARTING, flowStackIndex, forwardRequest, forwardRequestIOR, intermediatePointCall, MID_ARGUMENTS, MID_CONTEXTS, MID_EXCEPTIONS, MID_FORWARD_REFERENCE, MID_GET_REPLY_SERVICE_CONTEXT, MID_GET_REQUEST_SERVICE_CONTEXT, MID_GET_SLOT, MID_OPERATION, MID_OPERATION_CONTEXT, MID_REPLY_STATUS, MID_REQUEST_ID, MID_RESPONSE_EXPECTED, MID_RESULT, MID_RI_LAST, MID_SYNC_SCOPE, myORB, replyStatus, serviceContexts, slotTable, startingPointCall, stdWrapper, UNINITIALIZED, wrapper| Modifier and Type | Method and Description |
|---|---|
byte[] |
adapter_id()
The opaque identifier for the object adapter.
|
String[] |
adapter_name()
Returns the sequence of strings that identifies the object
adapter instance that is handling this request.
|
void |
add_reply_service_context(ServiceContext service_context,
boolean replace)
Allows Interceptors to add service contexts to the request.
|
Parameter[] |
arguments()
See ServerRequestInfo for javadocs.
|
protected void |
checkAccess(int methodID)
See description for RequestInfoImpl.checkAccess
|
String[] |
contexts()
See ServerRequestInfo for javadocs.
|
TypeCode[] |
exceptions()
See ServerRequestInfo for javadocs.
|
Object |
forward_reference()
See ServerRequestInfo for javadocs.
|
ServiceContext |
get_reply_service_context(int id)
See ServerRequestInfo for javadocs.
|
ServiceContext |
get_request_service_context(int id)
See ServerRequestInfo for javadocs.
|
Policy |
get_server_policy(int type)
Returns the policy in effect for this operation for the given policy
type.
|
byte[] |
object_id()
The opaque object_id describing the target of the operation invocation.
|
String[] |
operation_context()
See ServerRequestInfo for javadocs.
|
String |
operation()
See ServerRequestInfo for javadocs.
|
String |
orb_id()
Returns the ID that was used to create the ORB.
|
int |
request_id()
See ServerRequestInfo for javadocs.
|
boolean |
response_expected()
See ServerRequestInfo for javadocs.
|
Any |
result()
See ServerRequestInfo for javadocs.
|
Any |
sending_exception()
Any containing the exception to be returned to the client.
|
String |
server_id()
Returns the server ID that was specified on ORB::init using the -ORBServerId
argument.
|
void |
set_slot(int id,
Any data)
Allows an Interceptor to set a slot in the Current that is in the scope
of the request.
|
protected void |
setCurrentExecutionPoint(int executionPoint)
Overridden from RequestInfoImpl.
|
protected void |
setDSIArguments(NVList arguments)
Stores the various sources of information used for this info object.
|
protected void |
setDSIException(Any exception)
Stores the various sources of information used for this info object.
|
protected void |
setDSIResult(Any result)
Stores the various sources of information used for this info object.
|
protected void |
setException(Exception exception)
Sets the exception to be returned by received_exception and
received_exception_id.
|
protected void |
setInfo(CorbaMessageMediator request,
ObjectAdapter oa,
byte[] objectId,
ObjectKeyTemplate oktemp)
Stores the various sources of information used for this info object.
|
protected void |
setInfo(Object servant,
String targetMostDerivedInterface)
Stores the various sources of information used for this info object.
|
protected void |
setReplyStatus(short replyStatus)
Overridden from RequestInfoImpl.
|
boolean |
target_is_a(String id)
Returns true if the servant is the given RepositoryId, false if it is
not.
|
String |
target_most_derived_interface()
The RepositoryID for the most derived interface of the servant.
|
addServiceContext, connection, exceptionToAny, get_slot, getAlreadyExecuted, getEndingPointCall, getFlowStackIndex, getForwardRequestException, getForwardRequestIOR, getIntermediatePointCall, getReplyStatus, getServiceContext, getStartingPointCall, iorToObject, nvListToParameterArray, reply_status, setAlreadyExecuted, setEndingPointCall, setFlowStackIndex, setForwardRequest, setForwardRequest, setIntermediatePointCall, setStartingPointCall, sync_scope_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget_slot, reply_status, 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_overrideprotected static final int MID_SENDING_EXCEPTION
protected static final int MID_OBJECT_ID
protected static final int MID_ADAPTER_ID
protected static final int MID_TARGET_MOST_DERIVED_INTERFACE
protected static final int MID_GET_SERVER_POLICY
protected static final int MID_SET_SLOT
protected static final int MID_TARGET_IS_A
protected static final int MID_ADD_REPLY_SERVICE_CONTEXT
protected static final int MID_SERVER_ID
protected static final int MID_ORB_ID
protected static final int MID_ADAPTER_NAME
public Any sending_exception()
sending_exception in interface ServerRequestInfoOperationsPortableInterceptor package comments for
limitations / unimplemented featurespublic byte[] object_id()
object_id in interface ServerRequestInfoOperationspublic String server_id()
ServerRequestInfoOperationsserver_id in interface ServerRequestInfoOperationspublic String orb_id()
ServerRequestInfoOperationsorb_id in interface ServerRequestInfoOperationspublic String[] adapter_name()
ServerRequestInfoOperationsadapter_name in interface ServerRequestInfoOperationspublic byte[] adapter_id()
adapter_id in interface ServerRequestInfoOperationspublic String target_most_derived_interface()
target_most_derived_interface in interface ServerRequestInfoOperationspublic Policy get_server_policy(int type)
get_server_policy in interface ServerRequestInfoOperationstype - The CORBA.PolicyType which specifies the
policy to be returned.CORBA.Policy obtained with the given
policy type.ORBInitInfoOperations.register_policy_factory(int, org.omg.PortableInterceptor.PolicyFactory)public void set_slot(int id,
Any data)
throws InvalidSlot
set_slot in interface ServerRequestInfoOperationsid - The id of the slot.data - The data, in the form of an any, to store in that slot.InvalidSlot - thrown if the ID does not define an allocated
slot.Currentpublic boolean target_is_a(String id)
target_is_a in interface ServerRequestInfoOperationsid - The caller wants to know if the servant is this
repository id.public void add_reply_service_context(ServiceContext service_context, boolean replace)
add_reply_service_context in interface ServerRequestInfoOperationsservice_context - The IOP.ServiceContext to add to
the reply.replace - Indicates the behavior of this operation when a
service context already exists with the given ID. If false,
then BAD_INV_ORDER with a standard minor code of 15
is thrown. If true, then the existing service context is
replaced by the new one.public int request_id()
request_id in interface RequestInfoOperationsrequest_id in class RequestInfoImplpublic String operation()
operation in interface RequestInfoOperationsoperation in class RequestInfoImplpublic Parameter[] arguments()
arguments in interface RequestInfoOperationsarguments in class RequestInfoImplPortableInterceptor package comments for
limitations / unimplemented featurespublic TypeCode[] exceptions()
exceptions in interface RequestInfoOperationsexceptions in class RequestInfoImplPortableInterceptor package comments for
limitations / unimplemented featurespublic String[] contexts()
contexts in interface RequestInfoOperationscontexts in class RequestInfoImplPortableInterceptor package comments for
limitations / unimplemented featurespublic String[] operation_context()
operation_context in interface RequestInfoOperationsoperation_context in class RequestInfoImplPortableInterceptor package comments for
limitations / unimplemented featurespublic Any result()
result in interface RequestInfoOperationsresult in class RequestInfoImplPortableInterceptor package comments for
limitations / unimplemented featurespublic boolean response_expected()
response_expected in interface RequestInfoOperationsresponse_expected in class RequestInfoImplpublic Object forward_reference()
forward_reference in interface RequestInfoOperationsforward_reference in class RequestInfoImplpublic ServiceContext get_request_service_context(int id)
get_request_service_context in interface RequestInfoOperationsget_request_service_context in class RequestInfoImplid - The IOP.ServiceId of the service context
which is to be returned.IOP.ServiceContext obtained with the
given identifier.public ServiceContext get_reply_service_context(int id)
get_reply_service_context in interface RequestInfoOperationsget_reply_service_context in class RequestInfoImplid - The IOP.ServiceId of the service context
which is to be returned.IOP.ServiceContext obtained with the given
identifier.protected void setCurrentExecutionPoint(int executionPoint)
setCurrentExecutionPoint in class RequestInfoImplprotected void setInfo(CorbaMessageMediator request, ObjectAdapter oa, byte[] objectId, ObjectKeyTemplate oktemp)
protected void setDSIArguments(NVList arguments)
protected void setDSIException(Any exception)
protected void setDSIResult(Any result)
protected void setException(Exception exception)
setException in class RequestInfoImplprotected void setInfo(Object servant, String targetMostDerivedInterface)
protected void setReplyStatus(short replyStatus)
setReplyStatus in class RequestInfoImplprotected void checkAccess(int methodID)
checkAccess in class RequestInfoImplmethodID - The ID of this method, one of the MID_* constants.
This allows us to easily look up the method access in a table.
Note that method ids may overlap between subclasses.Copyright © 2018 JBoss by Red Hat. All rights reserved.