Source:
public synchronized void run(boolean waitForTermination) throws FatalESException { if (instance != null) { throw new FatalESException(Messages.EMFStoreController_EMFStore_Controller_Already_Running); } instance = this; serverHeader(); initLogging(); copyFileToWorkspace(ServerConfiguration.getConfFile(), ServerConfiguration.ES_PROPERTIES, Messages.EMFStoreController_Could_Not_Copy_Properties_File, Messages.EMFStoreController_Default_Properties_File_Copied); final Properties properties = initProperties(); assureSuperUserPasswordIsSet(properties); logGeneralInformation(); registerDynamicModels(); serverSpace = initServerSpace(Boolean.getBoolean("emfstore.migration")); if (serverSpace == null) { return; } initializeBranchesIfRequired(serverSpace); handleStartupListener(); accessControl = initAccessControl(serverSpace); emfStore = EMFStoreImpl.createInterface(serverSpace, accessControl); adminEmfStore = new AdminEmfStoreImpl(serverSpace, accessControl); copyFileToWorkspace(ServerConfiguration.getServerKeyStorePath(), ServerConfiguration.SERVER_KEYSTORE_FILE, Messages.EMFStoreController_Failed_To_Copy_Keystore, Messages.EMFStoreController_Keystore_Copied); connectionHandlers = initConnectionHandlers(); handlePostStartupListener(); registerShutdownHook(); if (ServerConfiguration.isUserPasswordMigrationRequired()) { final ClientVersionInfo clientVersionInfo = ModelFactory.eINSTANCE.createClientVersionInfo(); clientVersionInfo.setVersion("1.0.0."); getAccessControl().getLoginService().verifyUser("", "", clientVersionInfo.toAPI()); } ModelUtil.logInfo(Messages.EMFStoreController_Init_Complete); ModelUtil.logInfo(Messages.EMFStoreController_Server_Running); if (waitForTermination) { waitForTermination(); } }

Target:
public synchronized void run(boolean waitForTermination) throws FatalESException { if (instance != null) { throw new FatalESException(Messages.EMFStoreController_EMFStore_Controller_Already_Running); } instance = this; serverHeader(); initLogging(); copyFileToWorkspace(ServerConfiguration.getConfFile(), ServerConfiguration.ES_PROPERTIES, Messages.EMFStoreController_Could_Not_Copy_Properties_File, Messages.EMFStoreController_Default_Properties_File_Copied); final Properties properties = initProperties(); assureSuperUserPasswordIsSet(properties); logGeneralInformation(); registerDynamicModels(); serverSpace = initServerSpace(Boolean.getBoolean("emfstore.migration")); if (serverSpace == null) { return; } initializeBranchesIfRequired(serverSpace); handleStartupListener(); accessControl = initAccessControl(serverSpace); emfStore = EMFStoreImpl.createInterface(serverSpace, accessControl); adminEmfStore = new AdminEmfStoreImpl(serverSpace, accessControl); copyFileToWorkspace(ServerConfiguration.getServerKeyStorePath(), ServerConfiguration.SERVER_KEYSTORE_FILE, Messages.EMFStoreController_Failed_To_Copy_Keystore, Messages.EMFStoreController_Keystore_Copied); connectionHandlers = initConnectionHandlers(); handlePostStartupListener(); registerShutdownHook(); if (ServerConfiguration.isUserPasswordMigrationRequired()) { performDummyLogin(); } ModelUtil.logInfo(Messages.EMFStoreController_Init_Complete); ModelUtil.logInfo(Messages.EMFStoreController_Server_Running); if (waitForTermination) { waitForTermination(); } }