Project

General

Profile

Download (1.4 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2017 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.addon.config;
10

    
11
import org.apache.log4j.Logger;
12
import org.springframework.context.annotation.ComponentScan;
13
import org.springframework.context.annotation.Configuration;
14

    
15
import com.vaadin.spring.annotation.EnableVaadin;
16

    
17
/**
18
 *
19
 * @author a.kohlbecker
20
 * @since Feb 8, 2017
21
 *
22
 */
23
@Configuration
24
@ComponentScan(basePackages={"eu.etaxonomy.cdm.vaadin"})
25
@EnableVaadin   // this imports VaadinConfiguration
26
public class CdmVaadinConfiguration {
27

    
28
    public static final Logger logger = Logger.getLogger(CdmVaadinConfiguration.class);
29

    
30
//    @Configuration
31
//    @EnableVaadin
32
//    @Order(value=1)
33
//    public static class CdmVaadinEnabler {
34
//
35
//        public CdmVaadinEnabler() {
36
//            logger.debug("CdmVaadinConfiguration enabled");
37
//        }
38
//
39
//    }
40
//
41
//    @Configuration
42
//    @ComponentScan(basePackages={"eu.etaxonomy.cdm.vaadin"})
43
//    @Order(value=2)
44
//    public static class CdmVaadinScanner {
45
//
46
//        public CdmVaadinScanner() {
47
//            logger.debug("CdmVaadinScanner enabled");
48
//        }
49
//
50
//    }
51

    
52

    
53

    
54
    public CdmVaadinConfiguration() {
55
        logger.debug("CdmVaadinConfiguration enabled");
56
    }
57

    
58
}
(1-1/2)