Project

General

Profile

Download (1.65 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
 * Copyright (C) 2013 EDIT
3
 * European Distributed Institute of Taxonomy
4
 * http://www.e-taxonomy.eu
5
 *
6
 * The contents of this file are subject to the Mozilla Public License Version 1.1
7
 * See LICENSE.TXT at the top of this package for the full license terms.
8
 */
9
package eu.etaxonomy.cdm.server.instance;
10

    
11
/**
12
 * The Attributes defined in this calls are 1:1 copies of attributes which are
13
 * primarily defined in
14
 * <code>eu.etaxonomy.cdm.remote.config.*</code>
15
 *
16
 * TODO avoid duplication of code by directly referring to the original classes
17
 * but without fully depending on cdmlib-remote, since this would mean to increase the
18
 * size of the cdm-server a lot.
19
 *
20
 * @author a.kohlbecker
21
 * @date May 13, 2013
22
 *
23
 */
24
public class SharedAttributes {
25

    
26
    /**
27
     * same as
28
     * <code>eu.etaxonomy.cdm.remote.config.DataSourceConfigurer#ATTRIBUTE_JDBC_JNDI_NAME</code>
29
     */
30
    public static final String ATTRIBUTE_JDBC_JNDI_NAME = "cdm.jdbcJndiName";
31

    
32
    /**
33
     * same as
34
     * <code>eu.etaxonomy.cdm.remote.config.DataSourceConfigurer#ATTRIBUTE_DATASOURCE_NAME</code>
35
     */
36
    public static final String ATTRIBUTE_DATASOURCE_NAME = "cdm.datasource";
37

    
38

    
39
    /**
40
     * same as
41
     * <code>eu.etaxonomy.cdm.remote.config.AbstractWebApplicationConfigurer#ATTRIBUTE_ERROR_MESSAGES</code>
42
     */
43
    public static final String ATTRIBUTE_ERROR_MESSAGES = "cdm.errorMessages";
44

    
45
    /**
46
     * Force a schema update when the cdm-webapp instance is starting up
47
     * same as <code>eu.etaxonomy.cdm.remote.config.DataSourceConfigurer.ATTRIBUTE_FORCE_SCHEMA_UPDATE</code>
48
     */
49
    public static final String ATTRIBUTE_FORCE_SCHEMA_UPDATE = "cdm.forceSchemaUpdate";
50

    
51
}
(5-5/7)