package org.dbxml.core.corba.db;

import org.omg.PortableServer.POA;
/**
 *	Generated from IDL definition of interface "DatabaseManager"
 *	@author JacORB IDL compiler 
 */

public class DatabaseManagerPOATie
	extends DatabaseManagerPOA
{
	private DatabaseManagerOperations _delegate;

	private POA _poa;
	public DatabaseManagerPOATie(DatabaseManagerOperations delegate)
	{
		_delegate = delegate;
	}
	public DatabaseManagerPOATie(DatabaseManagerOperations delegate, POA poa)
	{
		_delegate = delegate;
		_poa = poa;
	}
	public org.dbxml.core.corba.db.DatabaseManager _this()
	{
		return org.dbxml.core.corba.db.DatabaseManagerHelper.narrow(_this_object());
	}
	public org.dbxml.core.corba.db.DatabaseManager _this(org.omg.CORBA.ORB orb)
	{
		return org.dbxml.core.corba.db.DatabaseManagerHelper.narrow(_this_object(orb));
	}
	public DatabaseManagerOperations _delegate()
	{
		return _delegate;
	}
	public void _delegate(DatabaseManagerOperations delegate)
	{
		_delegate = delegate;
	}
	public void remove()
	{
_delegate.remove();
	}

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

	public java.lang.String getName() throws org.dbxml.core.corba.db.APIException
	{
		return _delegate.getName();
	}

}
