001 package org.omg.CosTransactions; 002 003 004 /** 005 * org/omg/CosTransactions/CurrentOperations.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/CosTransactions.idl 008 * Monday, June 18, 2012 10:36:15 AM CEST 009 */ 010 011 012 // Current transaction 013 public interface CurrentOperations extends org.omg.CORBA.CurrentOperations 014 { 015 void begin () throws org.omg.CosTransactions.SubtransactionsUnavailable; 016 void commit (boolean report_heuristics) throws org.omg.CosTransactions.NoTransaction, org.omg.CosTransactions.HeuristicMixed, org.omg.CosTransactions.HeuristicHazard; 017 void rollback () throws org.omg.CosTransactions.NoTransaction; 018 void rollback_only () throws org.omg.CosTransactions.NoTransaction; 019 org.omg.CosTransactions.Status get_status (); 020 String get_transaction_name (); 021 void set_timeout (int seconds); 022 int get_timeout (); 023 org.omg.CosTransactions.Control get_control (); 024 org.omg.CosTransactions.Control suspend (); 025 void resume (org.omg.CosTransactions.Control which) throws org.omg.CosTransactions.InvalidControl; 026 } // interface CurrentOperations