<div> JavaScript is disabled on your browser.
Skip navigation links
Java™ Platform
Standard Ed. 8

Package org.omg.PortableInterceptor

提供了一种机制,通过该服务登记ORB钩子可以截获球的ORB执行的正常流动。

See: 描述

Package org.omg.PortableInterceptor Description

提供了一种机制,通过该服务登记ORB钩子可以截获球的ORB执行的正常流动。

拦截类型

目前有三种类型的拦截器,可以注册: 看到班 ORBInitializer javadocs对如何注册拦截器。

已知的限制/未实现的方法在包org.omg.PortableInterceptor

  • RequestInfo
    • sync_scope(): Always returns SYNC_WITH_TRANSPORT
    • arguments(): Only supported for DII/DSI calls
    • exceptions(): Only supported for DII calls on client side. Not supported on server-side.
    • contexts(): Only supported for DII calls on client side. Not supported on server-side since our ORB does not send contexts.
    • operation_context(): Only supported for DII calls on client side. Not supported on server-side since ORB does not send contexts.
    • result(): Only supported for DII/DSI calls
  • ClientRequestInfo
    • received_exception_id(): Always returns null in the DII case
    • get_request_policy(int type): Not implemented.
  • ServerRequestInfo
    • sending_exception(): Does not support user exceptions on the server side in non-DSI case.

包装规格

对于精确的名单支持官方OMG规范的java [商标]平台部分,标准版6符合,看到Official Specifications for CORBA support in Java SE 6

从以下版本开始:
1.4
Skip navigation links
Java™ Platform
Standard Ed. 8

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.

本帮助文档是使用 《百度翻译》翻译,请与英文版配合使用 by--QQ:654638585