org.jboss.tm.iiop.TransactionServicePOATie Maven / Gradle / Ivy
The newest version!
package org.jboss.tm.iiop;
import org.omg.PortableServer.POA;
/**
* Generated from IDL interface "TransactionService".
*
* @author JacORB IDL compiler V 2.3.0 (JBoss patch 4), 06-Jun-2007
* @version generated at Aug 16, 2011 8:43:25 AM
*/
public class TransactionServicePOATie
extends TransactionServicePOA
{
private TransactionServiceOperations _delegate;
private POA _poa;
public TransactionServicePOATie(TransactionServiceOperations delegate)
{
_delegate = delegate;
}
public TransactionServicePOATie(TransactionServiceOperations delegate, POA poa)
{
_delegate = delegate;
_poa = poa;
}
public org.jboss.tm.iiop.TransactionService _this()
{
return org.jboss.tm.iiop.TransactionServiceHelper.narrow(_this_object());
}
public org.jboss.tm.iiop.TransactionService _this(org.omg.CORBA.ORB orb)
{
return org.jboss.tm.iiop.TransactionServiceHelper.narrow(_this_object(orb));
}
public TransactionServiceOperations _delegate()
{
return _delegate;
}
public void _delegate(TransactionServiceOperations delegate)
{
_delegate = delegate;
}
public POA _default_POA()
{
if (_poa != null)
{
return _poa;
}
return super._default_POA();
}
public org.omg.CosTransactions.Status get_top_level_status()
{
return _delegate.get_top_level_status();
}
public org.omg.CosTransactions.RecoveryCoordinator register_resource(org.omg.CosTransactions.Resource r) throws org.omg.CosTransactions.Inactive
{
return _delegate.register_resource(r);
}
public org.omg.CosTransactions.Status replay_completion(org.omg.CosTransactions.Resource r) throws org.omg.CosTransactions.NotPrepared
{
return _delegate.replay_completion(r);
}
public org.omg.CosTransactions.Control create_subtransaction() throws org.omg.CosTransactions.SubtransactionsUnavailable,org.omg.CosTransactions.Inactive
{
return _delegate.create_subtransaction();
}
public void commit(boolean report_heuristics) throws org.omg.CosTransactions.HeuristicHazard,org.omg.CosTransactions.HeuristicMixed
{
_delegate.commit(report_heuristics);
}
public boolean is_related_transaction(org.omg.CosTransactions.Coordinator tc)
{
return _delegate.is_related_transaction(tc);
}
public void rollback_only() throws org.omg.CosTransactions.Inactive
{
_delegate.rollback_only();
}
public boolean is_ancestor_transaction(org.omg.CosTransactions.Coordinator tc)
{
return _delegate.is_ancestor_transaction(tc);
}
public boolean is_same_transaction(org.omg.CosTransactions.Coordinator tc)
{
return _delegate.is_same_transaction(tc);
}
public org.omg.CosTransactions.Terminator get_terminator() throws org.omg.CosTransactions.Unavailable
{
return _delegate.get_terminator();
}
public int hash_transaction()
{
return _delegate.hash_transaction();
}
public org.omg.CosTransactions.Status get_status()
{
return _delegate.get_status();
}
public int hash_top_level_tran()
{
return _delegate.hash_top_level_tran();
}
public org.omg.CosTransactions.Coordinator get_coordinator() throws org.omg.CosTransactions.Unavailable
{
return _delegate.get_coordinator();
}
public void register_synchronization(org.omg.CosTransactions.Synchronization sync) throws org.omg.CosTransactions.SynchronizationUnavailable,org.omg.CosTransactions.Inactive
{
_delegate.register_synchronization(sync);
}
public boolean is_top_level_transaction()
{
return _delegate.is_top_level_transaction();
}
public org.omg.CosTransactions.Status get_parent_status()
{
return _delegate.get_parent_status();
}
public org.jboss.tm.iiop.TransactionDesc create_transaction(int time_out)
{
return _delegate.create_transaction(time_out);
}
public org.omg.CosTransactions.PropagationContext get_txcontext() throws org.omg.CosTransactions.Unavailable
{
return _delegate.get_txcontext();
}
public java.lang.String get_transaction_name()
{
return _delegate.get_transaction_name();
}
public org.jboss.tm.iiop.TransactionId get_transaction_id()
{
return _delegate.get_transaction_id();
}
public org.omg.CosTransactions.Control recreate(org.omg.CosTransactions.PropagationContext ctx)
{
return _delegate.recreate(ctx);
}
public org.omg.CosTransactions.Control create(int time_out)
{
return _delegate.create(time_out);
}
public void register_subtran_aware(org.omg.CosTransactions.SubtransactionAwareResource r) throws org.omg.CosTransactions.NotSubtransaction,org.omg.CosTransactions.Inactive
{
_delegate.register_subtran_aware(r);
}
public boolean is_descendant_transaction(org.omg.CosTransactions.Coordinator tc)
{
return _delegate.is_descendant_transaction(tc);
}
public void rollback()
{
_delegate.rollback();
}
}