if (slave != null && slave.equals(SlaveFactory.SLAVE_MODE)) {
inReplicationSlaveMode = true;
}
dataDirectory = properties.getProperty(PersistentService.ROOT);
DaemonFactory daemonFactory =
(DaemonFactory)Monitor.startSystemModule(org.apache.derby.iapi.reference.Module.DaemonFactory);
rawStoreDaemon = daemonFactory.createNewDaemon("rawStoreDaemon");
xactFactory = (TransactionFactory)
Monitor.bootServiceModule(
create, this, getTransactionFactoryModule(), properties);
dataFactory = (DataFactory)