Project

General

Profile

« Previous | Next » 

Revision 3a2f0b2a

Added by Andreas Kohlbecker over 2 years ago

ref #7139 cleaning up for rejected ticket

View differences:

src/main/java/eu/etaxonomy/cdm/addon/config/CdmVaadinConfiguration.java
11 11
import java.io.IOException;
12 12
import java.util.Arrays;
13 13
import java.util.List;
14
import java.util.Properties;
15 14

  
16 15
import javax.servlet.annotation.WebServlet;
17 16

  
......
67 66
import eu.etaxonomy.vaadin.ui.annotation.EnableVaadinSpringNavigation;
68 67

  
69 68
/**
70
 *
71 69
 * @author a.kohlbecker
72 70
 * @since Feb 8, 2017
73
 *
74 71
 */
75 72
@Configuration
76 73
@ComponentScan(basePackages={
......
284 281

  
285 282
    static final String PROPERTIES_FILE_NAME = "vaadin-apps";
286 283

  
287
    private Properties appProps = null;
288

  
289 284
    private ApplicationContext applicationContext;
290 285

  
291 286
    private List<String> activeUIpaths;
......
309 304

  
310 305
    /**
311 306
     * Checks if the ui class supplied is activated by listing it in the properties by its {@link SpringUI#path()} value.
312
     *
313
     * TODO see https://dev.e-taxonomy.eu/redmine/issues/7139 (consider using spring profiles to enable vaadin UI contexts)
314
     *
315
     * @param type
316
     * @return
317 307
     */
318 308
    private boolean isUIEnabled(Class<? extends UI>uiClass) {
319 309

  

Also available in: Unified diff