Examples of configurePrevalenceBase()


Examples of org.prevayler.PrevaylerFactory.configurePrevalenceBase()

            throw new BeanInstantiationException(this.getClass(), "No prevalent system found!");
        }
       
        PrevaylerFactory factory = new PrevaylerFactory();
        factory.configureClock(this.clock);
        factory.configurePrevalenceBase(this.prevalenceBase);
        factory.configurePrevalentSystem(this.prevalentSystem);
        factory.configureSnapshotManager(this.snapshotManager);
        factory.configureTransactionFiltering(this.transactionFiltering);
        factory.configureTransactionLogFileAgeThreshold(this.transactionLogAgeThreshold);
        factory.configureTransactionLogFileSizeThreshold(this.transactionLogSizeThreshold);
View Full Code Here

Examples of org.prevayler.PrevaylerFactory.configurePrevalenceBase()

    public Prevayler getPrevaylerClient() throws IOException, ClassNotFoundException {
      System.out.println("Instanciando o Cliente");
        PrevaylerFactory factory = getPrevaylerFactory();
        factory.configureReplicationClient(getServerId(), PrevaylerFactory.DEFAULT_REPLICATION_PORT);
        factory.configurePrevalenceBase(Constants.PREVAYLER_DATA_DIRETORY);
//        factory.configurePrevalenceDirectory(Constants.PREVAYLER_DATA_DIRETORY);
        return factory.create();
    }

    public PrevaylerFactory getPrevaylerFactory() {
View Full Code Here

Examples of org.prevayler.PrevaylerFactory.configurePrevalenceBase()

    }

    public PrevaylerFactory getPrevaylerFactory() {
        PrevaylerFactory factory = new PrevaylerFactory();
        factory.configurePrevalentSystem(new PrevalentSystem());
        factory.configurePrevalenceBase(Constants.PREVAYLER_DATA_DIRETORY);
//        factory.configurePrevalenceDirectory(Constants.PREVAYLER_DATA_DIRETORY);
        return factory;
    }

//    public void run() {
View Full Code Here

Examples of org.prevayler.PrevaylerFactory.configurePrevalenceBase()

    }

    public PrevaylerFactory getPrevaylerFactory() {
        PrevaylerFactory factory = new PrevaylerFactory();
        factory.configurePrevalentSystem(new PrevalentSystem());
        factory.configurePrevalenceBase(Constants.PREVAYLER_DATA_DIRETORY);
        factory.configureTransactionFiltering(false);
        return factory;
    }

    public Prevayler getPrevaylerServer() throws IOException, ClassNotFoundException {
View Full Code Here

Examples of org.prevayler.PrevaylerFactory.configurePrevalenceBase()

    }

    public PrevaylerFactory getPrevaylerFactoryServer() {
      PrevaylerFactory factory = new PrevaylerFactory();
        factory.configurePrevalentSystem(new PrevalentSystem());
        factory.configurePrevalenceBase(Constants.PREVAYLER_SERVER_DATA_DIRETORY);
        factory.configureReplicationServer(PrevaylerFactory.DEFAULT_REPLICATION_PORT);
        return factory;
    }

    public static void setStandAloneMode() {
View Full Code Here
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.