Project

General

Profile

Download (1014 Bytes) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2021 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.api.config;
10

    
11
import org.springframework.context.annotation.ComponentScan;
12
import org.springframework.context.annotation.ComponentScans;
13
import org.springframework.context.annotation.Configuration;
14
import org.springframework.scheduling.annotation.EnableAsync;
15

    
16
/**
17
 * This is to replace the xml configuration in src/main/resources/eu/etaxonomy/cdm/services.xml
18
 *
19
 * @author a.kohlbecker
20
 * @since Nov 5, 2021
21
 */
22
@Configuration
23
@ComponentScans({
24
    @ComponentScan(basePackages = {
25
            "eu.etaxonomy.cdm.api.security",
26
            "eu.etaxonomy.cdm.api.service.security"
27
            })
28
})
29
@EnableAsync // required for eu.etaxonomy.cdm.api.service.security.PasswordResetService @Async
30
public class AppConfiguration {
31

    
32
}
(1-1/10)