001 package org.omg.CosTransactions;
002
003
004 /**
005 * org/omg/CosTransactions/_RecoveryCoordinatorImplBase.java .
006 * Generated by the IDL-to-Java compiler (portable), version "3.2"
007 * from /home/iurt/rpm/BUILD/geronimo-spec-corba/src/main/idl/CosTransactions.idl
008 * Saturday, November 26, 2011 9:53:36 PM UTC
009 */
010
011 public abstract class _RecoveryCoordinatorImplBase extends org.omg.CORBA.portable.ObjectImpl
012 implements org.omg.CosTransactions.RecoveryCoordinator, org.omg.CORBA.portable.InvokeHandler
013 {
014
015 // Constructors
016 public _RecoveryCoordinatorImplBase ()
017 {
018 }
019
020 private static java.util.Hashtable _methods = new java.util.Hashtable ();
021 static
022 {
023 _methods.put ("replay_completion", new java.lang.Integer (0));
024 }
025
026 public org.omg.CORBA.portable.OutputStream _invoke (String $method,
027 org.omg.CORBA.portable.InputStream in,
028 org.omg.CORBA.portable.ResponseHandler $rh)
029 {
030 org.omg.CORBA.portable.OutputStream out = null;
031 java.lang.Integer __method = (java.lang.Integer)_methods.get ($method);
032 if (__method == null)
033 throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
034
035 switch (__method.intValue ())
036 {
037 case 0: // CosTransactions/RecoveryCoordinator/replay_completion
038 {
039 try {
040 org.omg.CosTransactions.Resource r = org.omg.CosTransactions.ResourceHelper.read (in);
041 org.omg.CosTransactions.Status $result = null;
042 $result = this.replay_completion (r);
043 out = $rh.createReply();
044 org.omg.CosTransactions.StatusHelper.write (out, $result);
045 } catch (org.omg.CosTransactions.NotPrepared $ex) {
046 out = $rh.createExceptionReply ();
047 org.omg.CosTransactions.NotPreparedHelper.write (out, $ex);
048 }
049 break;
050 }
051
052 default:
053 throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
054 }
055
056 return out;
057 } // _invoke
058
059 // Type-specific CORBA::Object operations
060 private static String[] __ids = {
061 "IDL:CosTransactions/RecoveryCoordinator:1.0"};
062
063 public String[] _ids ()
064 {
065 return (String[])__ids.clone ();
066 }
067
068
069 } // class _RecoveryCoordinatorImplBase