org.dspace.constants
Class Constants

java.lang.Object
  extended by org.dspace.constants.Constants

public class Constants
extends Object

All core DSpace Services constants.

Author:
Aaron Zeckoski (azeckoski @ gmail.com)

Field Summary
static String DATABASE_CONN_POOLING
          Set this to true (the default) to enable connection pooling.
static String DATABASE_CONNECTION_KEY
          JDBC database connection URL.
static String DATABASE_DRIVER_KEY
          Class of the JDBC driver.
static String DATABASE_PASSWORD_KEY
          Database connection password.
static String DATABASE_TYPE_KEY
          Configuration key for the name of the DBMS being used.
static String DATABASE_USERNAME_KEY
          Database connection user.
static String DEFAULT_ENCODING
           
static String DSPACE_TESTING_MODE
          If this is set to true then DSpace kernel is run as if it is inside a unit test.
static String DSPACE_TIMER_NAME
          This is the name of the timer thread for all DSpace core timers.
 
Constructor Summary
Constants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DSPACE_TESTING_MODE

public static final String DSPACE_TESTING_MODE
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.

See Also:
Constant Field Values

DSPACE_TIMER_NAME

public static final String DSPACE_TIMER_NAME
This is the name of the timer thread for all DSpace core timers.

See Also:
Constant Field Values

DATABASE_TYPE_KEY

public static final String DATABASE_TYPE_KEY
Configuration key for the name of the DBMS being used. HSQLDB, DERBY, ORACLE, MYSQL, POSTGRES, DB2, MSSQL. Note that H2 uses the HSQLDB key.

See Also:
Constant Field Values

DATABASE_DRIVER_KEY

public static final String DATABASE_DRIVER_KEY
Class of the JDBC driver. Embedded drivers are: Put your driver in the lib directory for your servlet container.

See Also:
Constant Field Values

DATABASE_CONNECTION_KEY

public static final String DATABASE_CONNECTION_KEY
JDBC database connection URL.

See Also:
Constant Field Values

DATABASE_USERNAME_KEY

public static final String DATABASE_USERNAME_KEY
Database connection user.

See Also:
Constant Field Values

DATABASE_PASSWORD_KEY

public static final String DATABASE_PASSWORD_KEY
Database connection password.

See Also:
Constant Field Values

DATABASE_CONN_POOLING

public static final String DATABASE_CONN_POOLING
Set this to true (the default) to enable connection pooling.

See Also:
Constant Field Values

DEFAULT_ENCODING

public static final String DEFAULT_ENCODING
See Also:
Constant Field Values
Constructor Detail

Constants

public Constants()


Copyright © Monday, September 1, 2008-2011 The DSpace Foundation. All Rights Reserved.