Package com.mobixess.jodb.core

Source Code of com.mobixess.jodb.core.JodbSessionContainerSE

package com.mobixess.jodb.core;

import java.io.File;
import java.io.IOException;
import java.net.URI;

import com.mobixess.jodb.core.io.JodbIoBaseSE;
import com.mobixess.jodb.core.io.rmi.JODBIOBaseProxy;
import com.mobixess.jodb.core.transaction.JODBSession;
import com.mobixess.jodb.core.transaction.TransactionContainer;

public class JodbSessionContainerSE extends JODBSessionContainer {

    JodbSessionContainerSE() {
    }

    /*package*/ JodbSessionContainerSE(URI serverURI, ITransactionResolver transactionResolver, boolean readOnly) throws IOException {
        _base = new JODBIOBaseProxy(serverURI);
        _session = new JODBSession(_base);
        if(!readOnly){
            _transactionContainer = new TransactionContainer(_session, transactionResolver);
        }
    }
   
   
    protected void initIoBase(File file) throws IOException{
        _base = new JodbIoBaseSE(file);
    }

}
TOP

Related Classes of com.mobixess.jodb.core.JodbSessionContainerSE

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.