1. package org.omg.PortableInterceptor;
  2. /**
  3. * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java .
  4. * Generated by the IDL-to-Java compiler (portable), version "3.2"
  5. * from ../../../../src/share/classes/org/omg/PortableInterceptor/Interceptors.idl
  6. * Wednesday, September 15, 2004 10:28:46 AM GMT
  7. */
  8. /** The object reference template. An instance of this must
  9. * exist for each object adapter created in an ORB. The server_id,
  10. * orb_id, and adapter_name attributes uniquely identify this template
  11. * within the scope of an IMR. Note that adapter_id is similarly unique
  12. * within the same scope, but it is opaque, and less useful in many
  13. * cases.
  14. */
  15. public final class ObjectReferenceTemplateHolder implements org.omg.CORBA.portable.Streamable
  16. {
  17. public org.omg.PortableInterceptor.ObjectReferenceTemplate value = null;
  18. public ObjectReferenceTemplateHolder ()
  19. {
  20. }
  21. public ObjectReferenceTemplateHolder (org.omg.PortableInterceptor.ObjectReferenceTemplate initialValue)
  22. {
  23. value = initialValue;
  24. }
  25. public void _read (org.omg.CORBA.portable.InputStream i)
  26. {
  27. value = org.omg.PortableInterceptor.ObjectReferenceTemplateHelper.read (i);
  28. }
  29. public void _write (org.omg.CORBA.portable.OutputStream o)
  30. {
  31. org.omg.PortableInterceptor.ObjectReferenceTemplateHelper.write (o, value);
  32. }
  33. public org.omg.CORBA.TypeCode _type ()
  34. {
  35. return org.omg.PortableInterceptor.ObjectReferenceTemplateHelper.type ();
  36. }
  37. }