Search in sources :

Example 1 with AutoAnnotationBlastDbBuildTask

use of org.jbei.ice.lib.entry.sequence.annotation.AutoAnnotationBlastDbBuildTask in project ice by JBEI.

the class ApplicationInitialize method startUp.

/**
     * Responsible for initializing the system and checking for the existence of needed
     * data (such as settings) and creating as needed
     */
public static void startUp() {
    // check for and create public group
    GroupController groupController = new GroupController();
    groupController.createOrRetrievePublicGroup();
    // check for and create admin account
    AccountController accountController = new AccountController();
    accountController.createAdminAccount();
    // check for and create default settings
    ConfigurationController configurationController = new ConfigurationController();
    configurationController.initPropertyValues();
    // check blast
    BlastPlus.scheduleBlastIndexRebuildTask(false);
    AutoAnnotationBlastDbBuildTask autoAnnotationBlastDbBuildTask = new AutoAnnotationBlastDbBuildTask();
    IceExecutorService.getInstance().runTask(autoAnnotationBlastDbBuildTask);
}
Also used : ConfigurationController(org.jbei.ice.lib.config.ConfigurationController) GroupController(org.jbei.ice.lib.group.GroupController) AutoAnnotationBlastDbBuildTask(org.jbei.ice.lib.entry.sequence.annotation.AutoAnnotationBlastDbBuildTask) AccountController(org.jbei.ice.lib.account.AccountController)

Aggregations

AccountController (org.jbei.ice.lib.account.AccountController)1 ConfigurationController (org.jbei.ice.lib.config.ConfigurationController)1 AutoAnnotationBlastDbBuildTask (org.jbei.ice.lib.entry.sequence.annotation.AutoAnnotationBlastDbBuildTask)1 GroupController (org.jbei.ice.lib.group.GroupController)1