1. package org.omg.CosNaming;
  2. /**
  3. * org/omg/CosNaming/NamingContextExtHolder.java .
  4. * Generated by the IDL-to-Java compiler (portable), version "3.2"
  5. * from ../../../../src/share/classes/org/omg/CosNaming/nameservice.idl
  6. * Wednesday, September 15, 2004 10:28:47 AM GMT
  7. */
  8. /**
  9. * <code>NamingContextExt</code> is the extension of <code>NamingContext</code>
  10. * which
  11. * contains a set of name bindings in which each name is unique and is
  12. * part of Interoperable Naming Service.
  13. * Different names can be bound to an object in the same or different
  14. * contexts at the same time. Using <tt>NamingContextExt</tt>, you can use
  15. * URL-based names to bind and resolve. <p>
  16. *
  17. * See <a href="http://www.omg.org/technology/documents/formal/naming_service.htm">
  18. * CORBA COS
  19. * Naming Specification.</a>
  20. */
  21. public final class NamingContextExtHolder implements org.omg.CORBA.portable.Streamable
  22. {
  23. public org.omg.CosNaming.NamingContextExt value = null;
  24. public NamingContextExtHolder ()
  25. {
  26. }
  27. public NamingContextExtHolder (org.omg.CosNaming.NamingContextExt initialValue)
  28. {
  29. value = initialValue;
  30. }
  31. public void _read (org.omg.CORBA.portable.InputStream i)
  32. {
  33. value = org.omg.CosNaming.NamingContextExtHelper.read (i);
  34. }
  35. public void _write (org.omg.CORBA.portable.OutputStream o)
  36. {
  37. org.omg.CosNaming.NamingContextExtHelper.write (o, value);
  38. }
  39. public org.omg.CORBA.TypeCode _type ()
  40. {
  41. return org.omg.CosNaming.NamingContextExtHelper.type ();
  42. }
  43. }