KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > PortableInterceptor > ObjectReferenceTemplateHolder


1 package org.omg.PortableInterceptor;
2
3 /**
4 * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java .
5 * Generated by the IDL-to-Java compiler (portable), version "3.2"
6 * from ../../../../src/share/classes/org/omg/PortableInterceptor/Interceptors.idl
7 * Saturday, February 9, 2008 9:40:08 AM GMT
8 */

9
10
11 /** The object reference template. An instance of this must
12    * exist for each object adapter created in an ORB. The server_id,
13    * orb_id, and adapter_name attributes uniquely identify this template
14    * within the scope of an IMR. Note that adapter_id is similarly unique
15    * within the same scope, but it is opaque, and less useful in many
16    * cases.
17    */

18 public final class ObjectReferenceTemplateHolder implements org.omg.CORBA.portable.Streamable JavaDoc
19 {
20   public org.omg.PortableInterceptor.ObjectReferenceTemplate JavaDoc value = null;
21
22   public ObjectReferenceTemplateHolder ()
23   {
24   }
25
26   public ObjectReferenceTemplateHolder (org.omg.PortableInterceptor.ObjectReferenceTemplate JavaDoc initialValue)
27   {
28     value = initialValue;
29   }
30
31   public void _read (org.omg.CORBA.portable.InputStream JavaDoc i)
32   {
33     value = org.omg.PortableInterceptor.ObjectReferenceTemplateHelper.read (i);
34   }
35
36   public void _write (org.omg.CORBA.portable.OutputStream JavaDoc o)
37   {
38     org.omg.PortableInterceptor.ObjectReferenceTemplateHelper.write (o, value);
39   }
40
41   public org.omg.CORBA.TypeCode JavaDoc _type ()
42   {
43     return org.omg.PortableInterceptor.ObjectReferenceTemplateHelper.type ();
44   }
45
46 }
47
Popular Tags