1
|
/**
|
2
|
* Copyright (C) 2016 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.remote.config;
|
10
|
|
11
|
import org.apache.logging.log4j.LogManager;
|
12
|
import org.apache.logging.log4j.Logger;
|
13
|
import org.springframework.context.annotation.Configuration;
|
14
|
import org.springframework.context.annotation.ImportResource;
|
15
|
import org.springframework.context.annotation.Profile;
|
16
|
|
17
|
/**
|
18
|
* @author a.kohlbecker
|
19
|
* @since Feb 25, 2016
|
20
|
*/
|
21
|
@Profile("remoting")
|
22
|
@Configuration
|
23
|
@ImportResource(locations="classpath:/eu/etaxonomy/cdm/remoting-services.xml")
|
24
|
public class RemotingWebServices {
|
25
|
|
26
|
public static final Logger logger = LogManager.getLogger(RemotingWebServices.class);
|
27
|
|
28
|
public RemotingWebServices() {
|
29
|
logger.info("========================================");
|
30
|
logger.info(" Spring Configuration Profile: Remoting");
|
31
|
logger.info("========================================");
|
32
|
}
|
33
|
}
|