1. package com.sun.corba.se.spi.activation;
  2. /**
  3. * com/sun/corba/se/spi/activation/NoSuchEndPointHelper.java .
  4. * Generated by the IDL-to-Java compiler (portable), version "3.2"
  5. * from ../../../../src/share/classes/com/sun/corba/se/spi/activation/activation.idl
  6. * Wednesday, September 15, 2004 3:50:42 AM PDT
  7. */
  8. abstract public class NoSuchEndPointHelper
  9. {
  10. private static String _id = "IDL:activation/NoSuchEndPoint:1.0";
  11. public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.spi.activation.NoSuchEndPoint that)
  12. {
  13. org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
  14. a.type (type ());
  15. write (out, that);
  16. a.read_value (out.create_input_stream (), type ());
  17. }
  18. public static com.sun.corba.se.spi.activation.NoSuchEndPoint extract (org.omg.CORBA.Any a)
  19. {
  20. return read (a.create_input_stream ());
  21. }
  22. private static org.omg.CORBA.TypeCode __typeCode = null;
  23. private static boolean __active = false;
  24. synchronized public static org.omg.CORBA.TypeCode type ()
  25. {
  26. if (__typeCode == null)
  27. {
  28. synchronized (org.omg.CORBA.TypeCode.class)
  29. {
  30. if (__typeCode == null)
  31. {
  32. if (__active)
  33. {
  34. return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
  35. }
  36. __active = true;
  37. org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [0];
  38. org.omg.CORBA.TypeCode _tcOf_members0 = null;
  39. __typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (com.sun.corba.se.spi.activation.NoSuchEndPointHelper.id (), "NoSuchEndPoint", _members0);
  40. __active = false;
  41. }
  42. }
  43. }
  44. return __typeCode;
  45. }
  46. public static String id ()
  47. {
  48. return _id;
  49. }
  50. public static com.sun.corba.se.spi.activation.NoSuchEndPoint read (org.omg.CORBA.portable.InputStream istream)
  51. {
  52. com.sun.corba.se.spi.activation.NoSuchEndPoint value = new com.sun.corba.se.spi.activation.NoSuchEndPoint ();
  53. // read and discard the repository ID
  54. istream.read_string ();
  55. return value;
  56. }
  57. public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.spi.activation.NoSuchEndPoint value)
  58. {
  59. // write the repository ID
  60. ostream.write_string (id ());
  61. }
  62. }