Package org.ozoneDB.core.DbRemote

Source Code of org.ozoneDB.core.DbRemote.DbObjForName

// You can redistribute this software and/or modify it under the terms of
// the Ozone Core License version 1 published by ozone-db.org.
//
// The original code and portions created by SMB are
// Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved.
//
// $Id: DbObjForName.java,v 1.2 2002/06/08 00:49:38 mediumnet Exp $

package org.ozoneDB.core.DbRemote;

import org.ozoneDB.DxLib.*;
import org.ozoneDB.core.*;
import org.ozoneDB.OzoneProxy;
import java.io.IOException;


/**
* @author <a href="http://www.softwarebuero.de/">SMB</a>
* @version $Revision: 1.2 $Date: 2002/06/08 00:49:38 $
*/
public class DbObjForName extends DbCommand {
   
    private String name;
   
   
    public DbObjForName() {
    }
   
   
    public DbObjForName( String _name ) {
        name = _name;
    }
   
   
    public void perform( Transaction ta ) throws Exception {
        // env.logWriter.newEntry (this, "DbObjForName.perform()...", LogWriter.DEBUG);
        OzoneProxy    resultingProxy  = ta.objectForName(name);

        getProxyObjectGate().addObjectReferencedByClient(resultingProxy);

      result = resultingProxy;
    }
   
}
TOP

Related Classes of org.ozoneDB.core.DbRemote.DbObjForName

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.