1. /*
  2. * @(#)NamingContextHolder.java 1.10 00/02/02
  3. *
  4. * Copyright 1997-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. /*
  11. * File: ./org/omg/CosNaming/NamingContextHolder.java
  12. * From: nameservice.idl
  13. * Date: Tue Aug 11 03:12:09 1998
  14. * By: idltojava Java IDL 1.2 Aug 11 1998 02:00:18
  15. */
  16. package org.omg.CosNaming;
  17. public final class NamingContextHolder
  18. implements org.omg.CORBA.portable.Streamable{
  19. // instance variable
  20. public org.omg.CosNaming.NamingContext value;
  21. // constructors
  22. public NamingContextHolder() {
  23. this(null);
  24. }
  25. public NamingContextHolder(org.omg.CosNaming.NamingContext __arg) {
  26. value = __arg;
  27. }
  28. public void _write(org.omg.CORBA.portable.OutputStream out) {
  29. org.omg.CosNaming.NamingContextHelper.write(out, value);
  30. }
  31. public void _read(org.omg.CORBA.portable.InputStream in) {
  32. value = org.omg.CosNaming.NamingContextHelper.read(in);
  33. }
  34. public org.omg.CORBA.TypeCode _type() {
  35. return org.omg.CosNaming.NamingContextHelper.type();
  36. }
  37. }