Project

General

Profile

« Previous | Next » 

Revision 61312327

Added by Andreas Kohlbecker about 1 year ago

documentation on data source property keys

View differences:

cdmlib-remote/src/main/java/eu/etaxonomy/cdm/opt/config/DataSourceConfigurer.java
108 108
     *
109 109
     * @see AbstractWebApplicationConfigurer#findProperty(String, boolean)
110 110
     *
111
     * see also <code>eu.etaxonomy.cdm.server.instance.SharedAttributes</code>
111
     * see also :
112
     *
113
     * <ul>
114
     * <li><code>eu.etaxonomy.cdm.server.instance.SharedAttributes</code></li>
115
     * <li>{@link CdmConfigurationKeys#CDM_DATA_SOURCE_ID}</li>
116
     * </ul>
112 117
     *
113 118
     */
114 119
    protected static final String ATTRIBUTE_DATASOURCE_NAME = "cdm.datasource";
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/config/CdmConfigurationKeys.java
8 8
*/
9 9
package eu.etaxonomy.cdm.api.config;
10 10

  
11
import org.springframework.core.env.Environment;
12

  
11 13
/**
12 14
 * @author a.kohlbecker
13 15
 * @since Feb 15, 2018
......
15 17
public class CdmConfigurationKeys {
16 18

  
17 19
    /**
18
     * key for the spring environment to the datasource bean id aka instance name
20
     * Key for the spring environment to the datasource bean id aka instance name.
21
     * <p>
22
     * By now this key can be used to retrieve the datasource bean id from the Spring {@link Environment} from
23
     * all applications that are making use of the {@code eu.etaxonomy.cdm.opt.config.DataSourceConfigurer}.
24
     * - as far as other classes that configure the data sources do not yet implement setting this property.
19 25
     */
20 26
    public static final String CDM_DATA_SOURCE_ID = "cdm.dataSource.id";
21 27
}

Also available in: Unified diff