| 
JavaTM Platform Standard Ed. 6  | 
|||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 ForwardRequest 的软件包 | |
|---|---|
| org.omg.PortableInterceptor | 提供一个注册 ORB 钩子 (hook) 的机制,通过这些钩子 ORB 服务可以截取执行 ORB 的正常流。 | 
| org.omg.PortableInterceptor 中 ForwardRequest 的使用 | 
|---|
| 返回 ForwardRequest 的 org.omg.PortableInterceptor 中的方法 | |
|---|---|
static ForwardRequest | 
ForwardRequestHelper.extract(Any a)
 | 
static ForwardRequest | 
ForwardRequestHelper.read(InputStream istream)
 | 
| 参数类型为 ForwardRequest 的 org.omg.PortableInterceptor 中的方法 | |
|---|---|
static void | 
ForwardRequestHelper.insert(Any a,
       ForwardRequest that)
 | 
static void | 
ForwardRequestHelper.write(OutputStream ostream,
      ForwardRequest value)
 | 
| 抛出 ForwardRequest 的 org.omg.PortableInterceptor 中的方法 | |
|---|---|
 void | 
ClientRequestInterceptorOperations.receive_exception(ClientRequestInfo ri)
指示 interceptor 发生异常。  | 
 void | 
ClientRequestInterceptorOperations.receive_other(ClientRequestInfo ri)
允许 Interceptor 在请求引起了正常应答和异常之外的情况时查询可用信息。  | 
 void | 
ServerRequestInterceptorOperations.receive_request_service_contexts(ServerRequestInfo ri)
允许 interceptor 处理服务上下文信息。  | 
 void | 
ServerRequestInterceptorOperations.receive_request(ServerRequestInfo ri)
允许 Interceptor 在所有信息(包括操作参数)可用后查询信息。  | 
 void | 
ServerRequestInterceptorOperations.send_exception(ServerRequestInfo ri)
允许 Interceptor 在向客户端抛出异常前查询异常信息并修改应答服务上下文。  | 
 void | 
ServerRequestInterceptorOperations.send_other(ServerRequestInfo ri)
允许 Interceptor 在请求引起了正常应答和异常之外的情况时查询可用信息。  | 
 void | 
ClientRequestInterceptorOperations.send_request(ClientRequestInfo ri)
允许 Interceptor 在请求被发送到服务器前查询请求信息并修改服务上下文。  | 
  | 
JavaTM Platform Standard Ed. 6  | 
|||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。