PrevaylerFactory factory = getPrevaylerFactoryServer();
return factory.create();
}
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;
}