package test.interop.miop_tao_interop;

import org.omg.PortableServer.POA;

/**
 * Generated from IDL interface "Hello".
 *
 * @author JacORB IDL compiler V @project.version@
 * @version generated at 25-Feb-2014 13:44:20
 */

public class HelloPOATie
	extends HelloPOA
{
	private HelloOperations _delegate;

	private POA _poa;
	public HelloPOATie(HelloOperations delegate)
	{
		_delegate = delegate;
	}
	public HelloPOATie(HelloOperations delegate, POA poa)
	{
		_delegate = delegate;
		_poa = poa;
	}
	public test.interop.miop_tao_interop.Hello _this()
	{
		org.omg.CORBA.Object __o = _this_object() ;
		test.interop.miop_tao_interop.Hello __r = test.interop.miop_tao_interop.HelloHelper.narrow(__o);
		return __r;
	}
	public test.interop.miop_tao_interop.Hello _this(org.omg.CORBA.ORB orb)
	{
		org.omg.CORBA.Object __o = _this_object(orb) ;
		test.interop.miop_tao_interop.Hello __r = test.interop.miop_tao_interop.HelloHelper.narrow(__o);
		return __r;
	}
	public HelloOperations _delegate()
	{
		return _delegate;
	}
	public void _delegate(HelloOperations delegate)
	{
		_delegate = delegate;
	}
	public POA _default_POA()
	{
		if (_poa != null)
		{
			return _poa;
		}
		return super._default_POA();
	}
	public test.interop.miop_tao_interop.UIPMC_Object get_object()
	{
		return _delegate.get_object();
	}

	public void shutdown()
	{
_delegate.shutdown();
	}

}
