All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.omg.XA.BeforeCompletionCallbackPOATie Maven / Gradle / Ivy

package org.omg.XA;

import org.omg.PortableServer.POA;

/**
 * Generated from IDL interface "BeforeCompletionCallback".
 *
 * @author JacORB IDL compiler V 2.3.1 (JBoss patch01), 29-Jul-2009
 * @version generated at Oct 2, 2012 3:07:47 PM
 */

public class BeforeCompletionCallbackPOATie
	extends BeforeCompletionCallbackPOA
{
	private BeforeCompletionCallbackOperations _delegate;

	private POA _poa;
	public BeforeCompletionCallbackPOATie(BeforeCompletionCallbackOperations delegate)
	{
		_delegate = delegate;
	}
	public BeforeCompletionCallbackPOATie(BeforeCompletionCallbackOperations delegate, POA poa)
	{
		_delegate = delegate;
		_poa = poa;
	}
	public org.omg.XA.BeforeCompletionCallback _this()
	{
		return org.omg.XA.BeforeCompletionCallbackHelper.narrow(_this_object());
	}
	public org.omg.XA.BeforeCompletionCallback _this(org.omg.CORBA.ORB orb)
	{
		return org.omg.XA.BeforeCompletionCallbackHelper.narrow(_this_object(orb));
	}
	public BeforeCompletionCallbackOperations _delegate()
	{
		return _delegate;
	}
	public void _delegate(BeforeCompletionCallbackOperations delegate)
	{
		_delegate = delegate;
	}
	public POA _default_POA()
	{
		if (_poa != null)
		{
			return _poa;
		}
		return super._default_POA();
	}
	public void before_completion(org.omg.CosTransactions.Coordinator tx, org.omg.CosTransactions.otid_t otid, boolean success)
	{
_delegate.before_completion(tx,otid,success);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy