001    package org.omg.CORBA;
002    
003    
004    /**
005    * org/omg/CORBA/_CurrentStub.java .
006    * Generated by the IDL-to-Java compiler (portable), version "3.2"
007    * from /builddir/build/BUILD/geronimo-specs-1.6/geronimo-spec-corba/src/main/idl/geronimo-orb.idl
008    * Saturday, September 22, 2012 10:56:39 AM CEST
009    */
010    
011    
012    // actually, Current is pseudo, but we need it this way so everything compiles
013    public class _CurrentStub extends org.omg.CORBA.portable.ObjectImpl implements org.omg.CORBA.Current
014    {
015    
016      // Type-specific CORBA::Object operations
017      private static String[] __ids = {
018        "IDL:CORBA/Current:1.0"};
019    
020      public String[] _ids ()
021      {
022        return (String[])__ids.clone ();
023      }
024    
025      private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
026      {
027         String str = s.readUTF ();
028         String[] args = null;
029         java.util.Properties props = null;
030         org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
031         org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
032         _set_delegate (delegate);
033      }
034    
035      private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
036      {
037         String[] args = null;
038         java.util.Properties props = null;
039         String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
040         s.writeUTF (str);
041      }
042    } // class _CurrentStub