public interface ServerRequestInterceptorOperations extends InterceptorOperations
Modifier and Type | Method and Description |
---|---|
void |
receive_request_service_contexts(ServerRequestInfo info)
ORB calls this method before invoking the servant manager.
|
void |
receive_request(ServerRequestInfo info)
ORB calls this method after all the information, including operation
parameters, are available.
|
void |
send_exception(ServerRequestInfo info)
ORB calls this method if the exception has been throw during the request
processing.
|
void |
send_other(ServerRequestInfo info)
ORB normally calls this method if the request has been forwarded.
|
void |
send_reply(ServerRequestInfo info)
ORB calls this method after the target operation has been invoked and
before the reply is returned to the client.
|
destroy, name
void receive_request_service_contexts(ServerRequestInfo info) throws ForwardRequest
ForwardRequest
.SystemException
- if it does, the receive_request_service_contexts is
not called for the subsequent interceptors, calling
send_exception instead. The completion status of such exception
must be COMPLETED_NO.ForwardRequest
- to forward the invocation to another target. The
receive_request_service_contexts is not called for the subsequent
interceptors, calling send_other instead.void receive_request(ServerRequestInfo info) throws ForwardRequest
ForwardRequest
.info
- the object for accessing and manipulating the request
information.SystemException
- if it does, the receive_request is not called for
the subsequent interceptors, calling send_exception instead. The completion
status of such exception must be COMPLETED_NO.ForwardRequest
- to forward the invocation to another target. The
receive_request is not called for the subsequent interceptors, calling
send_other instead.void send_reply(ServerRequestInfo info)
info
- the object for accessing and manipulating the request
information.SystemException
- if it does, the send_reply is not called for the
subsequent interceptors, calling send_exception instead. The completion
status of such exception must be COMPLETED_YES.void send_exception(ServerRequestInfo info) throws ForwardRequest
ForwardRequest
.info
- the object for accessing and manipulating the request
information.SystemException
- has the effect of changing the exception that
successive interceptors receive on their calls to send_exception. If the
original exception is a system exception, the completion_status of the new
exception must match the exception being replaced. If the original
exception is a user exception, then the completion_status of the new
exception must be COMPLETED_YES.ForwardRequest
- to forward the invocation to another target. The
send_exception is not called for the subsequent interceptors, calling
send_other instead. If the completion_status of the original exception is
not a COMPLETED_NO, the ForwardRequest must not be raised.void send_other(ServerRequestInfo info) throws ForwardRequest
info
- the object for accessing and manipulating the request
information.SystemException
- if it does, the send_other is not called for the
subsequent interceptors, calling send_exception instead.ForwardRequest
- has the effect of changing the redirection that
successive interceptors receive on their calls to send_other.