KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.omg.CosNaming;
2
3 /**
4 * org/omg/CosNaming/NamingContextHolder.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  * A naming context is an object that contains a set of name bindings in
13  * which each name is unique. Different names can be bound to an object
14  * in the same or different contexts at the same time. <p>
15  *
16  * See <a HREF="http://www.omg.org/technology/documents/formal/naming_service.htm">
17  * CORBA COS
18  * Naming Specification.</a>
19  */

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