/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.constants; /** * All core DSpace Services constants. * * @author Aaron Zeckoski (azeckoski @ gmail.com) */ public class Constants { /** * If this is set to true then DSpace kernel is run as if it is * inside a unit test. This means that nothing is persisted (things * are run in-memory only) and caches and other speed optimizing * parts are reduced. This should NEVER be set true in a production * system. */ public static final String DSPACE_TESTING_MODE = "dspace.testing"; /** * This is the name of the timer thread for all DSpace core timers. */ public static final String DSPACE_TIMER_NAME = "DSpaceTimer"; /** * Configuration key for the name of the DBMS being used. * HSQLDB, DERBY, ORACLE, MYSQL, POSTGRES, DB2, MSSQL. * Note that H2 uses the HSQLDB key. */ public static final String DATABASE_TYPE_KEY = "jdbc.database.type"; /** * Class of the JDBC driver. * Embedded drivers are: *