001 package org.omg.CosTransactions; 002 003 import org.omg.PortableServer.POA; 004 005 /** 006 * Generated from IDL interface "Current". 007 * 008 * @author JacORB IDL compiler V 2.3.0 (JBoss patch 6), 06-Jun-2007 009 * @version generated at Jun 18, 2012 10:37:00 AM 010 */ 011 012 public class CurrentPOATie 013 extends CurrentPOA 014 { 015 private CurrentOperations _delegate; 016 017 private POA _poa; 018 public CurrentPOATie(CurrentOperations delegate) 019 { 020 _delegate = delegate; 021 } 022 public CurrentPOATie(CurrentOperations delegate, POA poa) 023 { 024 _delegate = delegate; 025 _poa = poa; 026 } 027 public org.omg.CosTransactions.Current _this() 028 { 029 return org.omg.CosTransactions.CurrentHelper.narrow(_this_object()); 030 } 031 public org.omg.CosTransactions.Current _this(org.omg.CORBA.ORB orb) 032 { 033 return org.omg.CosTransactions.CurrentHelper.narrow(_this_object(orb)); 034 } 035 public CurrentOperations _delegate() 036 { 037 return _delegate; 038 } 039 public void _delegate(CurrentOperations delegate) 040 { 041 _delegate = delegate; 042 } 043 public POA _default_POA() 044 { 045 if (_poa != null) 046 { 047 return _poa; 048 } 049 return super._default_POA(); 050 } 051 public org.omg.CosTransactions.Control suspend() 052 { 053 return _delegate.suspend(); 054 } 055 056 public org.omg.CosTransactions.Status get_status() 057 { 058 return _delegate.get_status(); 059 } 060 061 public void rollback() throws org.omg.CosTransactions.NoTransaction 062 { 063 _delegate.rollback(); 064 } 065 066 public void resume(org.omg.CosTransactions.Control which) throws org.omg.CosTransactions.InvalidControl 067 { 068 _delegate.resume(which); 069 } 070 071 public java.lang.String get_transaction_name() 072 { 073 return _delegate.get_transaction_name(); 074 } 075 076 public void set_timeout(int seconds) 077 { 078 _delegate.set_timeout(seconds); 079 } 080 081 public void commit(boolean report_heuristics) throws org.omg.CosTransactions.NoTransaction,org.omg.CosTransactions.HeuristicHazard,org.omg.CosTransactions.HeuristicMixed 082 { 083 _delegate.commit(report_heuristics); 084 } 085 086 public int get_timeout() 087 { 088 return _delegate.get_timeout(); 089 } 090 091 public void rollback_only() throws org.omg.CosTransactions.NoTransaction 092 { 093 _delegate.rollback_only(); 094 } 095 096 public org.omg.CosTransactions.Control get_control() 097 { 098 return _delegate.get_control(); 099 } 100 101 public void begin() throws org.omg.CosTransactions.SubtransactionsUnavailable 102 { 103 _delegate.begin(); 104 } 105 106 }