001    package org.omg.CosTransactions;
002    
003    /**
004    * org/omg/CosTransactions/CurrentHolder.java .
005    * Generated by the IDL-to-Java compiler (portable), version "3.2"
006    * from /builddir/build/BUILD/geronimo-specs-1.6/geronimo-spec-corba/src/main/idl/CosTransactions.idl
007    * Saturday, September 22, 2012 10:56:39 AM CEST
008    */
009    
010    
011    // Current transaction
012    public final class CurrentHolder implements org.omg.CORBA.portable.Streamable
013    {
014      public org.omg.CosTransactions.Current value = null;
015    
016      public CurrentHolder ()
017      {
018      }
019    
020      public CurrentHolder (org.omg.CosTransactions.Current initialValue)
021      {
022        value = initialValue;
023      }
024    
025      public void _read (org.omg.CORBA.portable.InputStream i)
026      {
027        value = org.omg.CosTransactions.CurrentHelper.read (i);
028      }
029    
030      public void _write (org.omg.CORBA.portable.OutputStream o)
031      {
032        org.omg.CosTransactions.CurrentHelper.write (o, value);
033      }
034    
035      public org.omg.CORBA.TypeCode _type ()
036      {
037        return org.omg.CosTransactions.CurrentHelper.type ();
038      }
039    
040    }