KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > CosNaming > NamingContextExtHolder


1 package org.omg.CosNaming;
2
3 /**
4 * org/omg/CosNaming/NamingContextExtHolder.java .
5 * Generated by the IDL-to-Java compiler (portable), version "3.2"
6 * from ../../../../src/share/classes/org/omg/CosNaming/nameservice.idl
7 * Saturday, February 9, 2008 9:40:10 AM GMT
8 */

9
10
11 /**
12  * <code>NamingContextExt</code> is the extension of <code>NamingContext</code>
13  * which
14  * contains a set of name bindings in which each name is unique and is
15  * part of Interoperable Naming Service.
16  * Different names can be bound to an object in the same or different
17  * contexts at the same time. Using <tt>NamingContextExt</tt>, you can use
18  * URL-based names to bind and resolve. <p>
19  *
20  * See <a HREF="http://www.omg.org/technology/documents/formal/naming_service.htm">
21  * CORBA COS
22  * Naming Specification.</a>
23  */

24 public final class NamingContextExtHolder implements org.omg.CORBA.portable.Streamable JavaDoc
25 {
26   public org.omg.CosNaming.NamingContextExt JavaDoc value = null;
27
28   public NamingContextExtHolder ()
29   {
30   }
31
32   public NamingContextExtHolder (org.omg.CosNaming.NamingContextExt JavaDoc initialValue)
33   {
34     value = initialValue;
35   }
36
37   public void _read (org.omg.CORBA.portable.InputStream JavaDoc i)
38   {
39     value = org.omg.CosNaming.NamingContextExtHelper.read (i);
40   }
41
42   public void _write (org.omg.CORBA.portable.OutputStream JavaDoc o)
43   {
44     org.omg.CosNaming.NamingContextExtHelper.write (o, value);
45   }
46
47   public org.omg.CORBA.TypeCode JavaDoc _type ()
48   {
49     return org.omg.CosNaming.NamingContextExtHelper.type ();
50   }
51
52 }
53
Popular Tags