Examples of configureReplicationClient()


Examples of org.prevayler.PrevaylerFactory.configureReplicationClient()

  private static final Logger logger = Logger.getLogger(GDConsole.class);

    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();
    }
View Full Code Here

Examples of org.prevayler.PrevaylerFactory.configureReplicationClient()

    }

    public Prevayler getPrevaylerClient() throws ClassNotFoundException, IOException {
      logger.info("Instanciando o Cliente");
        PrevaylerFactory factory = getPrevaylerFactory();
        factory.configureReplicationClient(serverIp, PrevaylerFactory.DEFAULT_REPLICATION_PORT);
    return factory.create();
    }

    public PrevaylerFactory getPrevaylerFactory() {
        PrevaylerFactory factory = new PrevaylerFactory();
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.