001 package org.omg.CosNaming; 002 003 /** 004 * org/omg/CosNaming/NamingContextHolder.java . 005 * Generated by the IDL-to-Java compiler (portable), version "3.2" 006 * from /builddir/build/BUILD/geronimo-specs-1.6/geronimo-spec-corba/src/main/idl/CosNaming.idl 007 * Saturday, September 22, 2012 10:56:38 AM CEST 008 */ 009 010 011 /** 012 * A naming context is an object that contains a set of name bindings in 013 * which each name is unique. Different names can be bound to an object 014 * in the same or different contexts at the same time. <p> 015 * 016 * See <a href=" http://www.omg.org/corba/sectrans.htm#nam">CORBA COS 017 * Naming Specification.</a> 018 */ 019 public final class NamingContextHolder implements org.omg.CORBA.portable.Streamable 020 { 021 public org.omg.CosNaming.NamingContext value = null; 022 023 public NamingContextHolder () 024 { 025 } 026 027 public NamingContextHolder (org.omg.CosNaming.NamingContext initialValue) 028 { 029 value = initialValue; 030 } 031 032 public void _read (org.omg.CORBA.portable.InputStream i) 033 { 034 value = org.omg.CosNaming.NamingContextHelper.read (i); 035 } 036 037 public void _write (org.omg.CORBA.portable.OutputStream o) 038 { 039 org.omg.CosNaming.NamingContextHelper.write (o, value); 040 } 041 042 public org.omg.CORBA.TypeCode _type () 043 { 044 return org.omg.CosNaming.NamingContextHelper.type (); 045 } 046 047 }