0N/A<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
0N/A<html>
0N/A<head>
0N/A<!--
0N/A
157N/ACopyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
0N/ADO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A
0N/AThis code is free software; you can redistribute it and/or modify it
0N/Aunder the terms of the GNU General Public License version 2 only, as
157N/Apublished by the Free Software Foundation. Oracle designates this
0N/Aparticular file as subject to the "Classpath" exception as provided
157N/Aby Oracle in the LICENSE file that accompanied this code.
0N/A
0N/AThis code is distributed in the hope that it will be useful, but WITHOUT
0N/AANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/AFITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/Aversion 2 for more details (a copy is included in the LICENSE file that
0N/Aaccompanied this code).
0N/A
0N/AYou should have received a copy of the GNU General Public License version
0N/A2 along with this work; if not, write to the Free Software Foundation,
0N/AInc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A
161N/APlease contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
161N/Aor visit www.oracle.com if you need additional information or have any
161N/Aquestions.
0N/A
0N/A-->
0N/A
0N/A</head>
0N/A<body bgcolor="white">
0N/A
0N/AProvides a mechanism to register ORB hooks through which ORB services
0N/Acan intercept the normal flow of execution of the ORB.
0N/A
0N/A<h2>Interceptor Types</h2>
0N/AThere are currently three types of interceptors that can be registered:
0N/A<ul>
0N/A <li>{@link org.omg.PortableInterceptor.IORInterceptor IORInterceptor} -
0N/A Used to establish tagged components in the profiles within an IOR.</li>
0N/A <li>{@link org.omg.PortableInterceptor.ClientRequestInterceptor
0N/AClientRequestInterceptor} -
0N/A Intercepts the flow of a request/reply sequence through the ORB on
0N/A the <i>client</i> side.</li>
0N/A <li>{@link org.omg.PortableInterceptor.ServerRequestInterceptor
0N/AServerRequestInterceptor} -
0N/A Intercepts the flow of a request/reply sequence through the ORB on
0N/A the <i>server</i> side.</li>
0N/A</ul>
0N/ASee the javadocs for class <code>
0N/A{@link org.omg.PortableInterceptor.ORBInitializer ORBInitializer}</code>
0N/Afor how to go about registering interceptors.
0N/A
0N/A<a name="unimpl"></a>
0N/A<h2>Known limitations / unimplemented methods in package
0N/A<code>org.omg.PortableInterceptor</code></h2>
0N/A
0N/A<code>
0N/A<ul>
0N/A <li>
0N/A <b>RequestInfo</b>
0N/A <ul>
0N/A <li><b>sync_scope()</b>: Always returns SYNC_WITH_TRANSPORT</li>
0N/A <li><b>arguments()</b>: Only supported for DII/DSI calls</li>
0N/A <li><b>exceptions()</b>: Only supported for DII calls on client side.
0N/A Not supported on server-side.</li>
0N/A <li><b>contexts()</b>: Only supported for DII calls on client side.
0N/A Not supported on server-side since our ORB does not send contexts.
0N/A </li>
0N/A <li><b>operation_context()</b>: Only supported for DII calls
0N/A on client side. Not supported on server-side since ORB
0N/A does not send contexts.</li>
0N/A <li><b>result()</b>: Only supported for DII/DSI calls</li>
0N/A </ul>
0N/A </li>
0N/A <li>
0N/A <b>ClientRequestInfo</b>
0N/A <ul>
0N/A <li><b>received_exception_id()</b>: Always returns null in the
0N/A DII case</li>
0N/A <li><b>get_request_policy(int type)</b>: Not implemented.</li>
0N/A </ul>
0N/A </li>
0N/A <li>
0N/A <b>ServerRequestInfo</b>
0N/A <ul>
0N/A <li><b>sending_exception()</b>: Does not support user exceptions on
0N/A the server side in non-DSI case.</li>
0N/A </ul>
0N/A </li>
0N/A</ul>
0N/A</code>
0N/A
0N/A<h2>Package Specification</h2>
0N/A<P>For a precise list of supported sections of official OMG specifications with which
0N/Athe Java[tm] Platform, Standard Edition 6 complies, see <A
0N/AHREF="/CORBA/doc-files/compliance.html">Official Specifications for CORBA
0N/Asupport in Java SE 6</A>.
0N/A
0N/A@since 1.4
0N/A<br>
0N/A@serial exclude
0N/A</body>
0N/A</html>