| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 ServiceContext 的软件包 | |
|---|---|
| org.omg.IOP | 此包包含在 OMG 文档 The Common Object Request Broker: Architecture and Specification http://cgi.omg.org/cgi-bin/doc?formal/99-10-07 的 13.6.小节中指定的 IOP 模块。 | 
| org.omg.PortableInterceptor | 提供一个注册 ORB 挂钩 (hook) 的机制,通过这些挂钩 ORB 服务可以截取执行 ORB 的正常流。 | 
| org.omg.IOP 中 ServiceContext 的使用 | 
|---|
| 声明为 ServiceContext 的 org.omg.IOP 中的字段 | |
|---|---|
|  ServiceContext[] | ServiceContextListHolder.value | 
|  ServiceContext | ServiceContextHolder.value | 
| 返回 ServiceContext 的 org.omg.IOP 中的方法 | |
|---|---|
| static ServiceContext[] | ServiceContextListHelper.extract(Any a) | 
| static ServiceContext | ServiceContextHelper.extract(Any a) | 
| static ServiceContext[] | ServiceContextListHelper.read(InputStream istream) | 
| static ServiceContext | ServiceContextHelper.read(InputStream istream) | 
| 参数类型为 ServiceContext 的 org.omg.IOP 中的方法 | |
|---|---|
| static void | ServiceContextHelper.insert(Any a,
       ServiceContext that) | 
| static void | ServiceContextListHelper.insert(Any a,
       ServiceContext[] that) | 
| static void | ServiceContextHelper.write(OutputStream ostream,
      ServiceContext value) | 
| static void | ServiceContextListHelper.write(OutputStream ostream,
      ServiceContext[] value) | 
| 参数类型为 ServiceContext 的 org.omg.IOP 中的构造方法 | |
|---|---|
| ServiceContextHolder(ServiceContext initialValue) | |
| ServiceContextListHolder(ServiceContext[] initialValue) | |
| org.omg.PortableInterceptor 中 ServiceContext 的使用 | 
|---|
| 返回 ServiceContext 的 org.omg.PortableInterceptor 中的方法 | |
|---|---|
|  ServiceContext | RequestInfoOperations.get_reply_service_context(int id)返回具有给定 ID 的与应答关联的服务上下文复本。 | 
|  ServiceContext | RequestInfoOperations.get_request_service_context(int id)返回具有给定 ID 的与请求关联的服务上下文复本。 | 
| 参数类型为 ServiceContext 的 org.omg.PortableInterceptor 中的方法 | |
|---|---|
|  void | ServerRequestInfoOperations.add_reply_service_context(ServiceContext service_context,
                          boolean replace)允许 Interceptor 将服务上下文添加到请求。 | 
|  void | ClientRequestInfoOperations.add_request_service_context(ServiceContext service_context,
                            boolean replace)允许 Interceptor 将服务上下文添加到请求。 | 
| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。