blob: 3f17fafb396651c4560371f095f95a115368c120 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<!--
Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 only, as
published by the Free Software Foundation. Oracle designates this
particular file as subject to the "Classpath" exception as provided
by Oracle in the LICENSE file that accompanied this code.
This code is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
version 2 for more details (a copy is included in the LICENSE file that
accompanied this code).
You should have received a copy of the GNU General Public License version
2 along with this work; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
or visit www.oracle.com if you need additional information or have any
questions.
-->
</head>
<body bgcolor="white">
Provides support for the marshalling of value types. Value type
marshalling may require access to an implementation of the value type or
to meta information about the value type. This information is passed
between the sending context and the receiving context using a particular
service context containing an instance of the
<code>SendingContext.RunTime</code> interface.
<P>
A sending context may be either the client side or the server side of
an invocation, depending on which contains a value type.
The sending context is the client side of an
invocation if the request contains a value type. It is the server side
if the reply contains a value type. The other party in the communication
is the receiving context.
<P>
The service context marshalled for <code>SendingContext</code>
consists of an encapsulated IOR for the <code>SendingContext.RunTime</code>
interface. <code>RunTime</code> is just a marker
interface defined to allow extensibility in the future. There is
currently only one subinterface of <code>RunTime</code> defined:
the <code>SendingContext.CodeBase</code> interface.
The interface <code>CodeBase</code> defines operations to obtain code URLs
and meta-information about a value type received from the sending
context.
<P>
Note that these classes are currently defined in the
<code>com.sun.org.omg.SendingContext</code>
package rather than in the package <code>org.omg.SendingContext</code>.
This has been done to avoid including large parts of the interface
repository in the JDK core, since the interface repository is still
evolving in response to the needs of the CORBA Components work.
<H3>Package Specification</H3>
<P>For a precise list of supported sections of official specifications with which
the Java[tm] Platform, Standard Edition 6 ORB complies, see <A
HREF="../CORBA/doc-files/compliance.html">Official Specifications for CORBA
support in Java[tm] SE 6</A>.
<p>
@since 1.3
<br>
@serial exclude
</body>
</html>