1
|
/**
|
2
|
* Copyright (C) 2014 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.springframework.context.annotation.Bean;
|
12
|
import org.springframework.context.annotation.Configuration;
|
13
|
|
14
|
import eu.etaxonomy.cdm.remote.controller.interceptor.LocaleContextHandlerInterceptor;
|
15
|
|
16
|
/**
|
17
|
* @author a.kohlbecker
|
18
|
* @date Jul 28, 2014
|
19
|
*
|
20
|
*/
|
21
|
@Configuration
|
22
|
public class PreloadedBeans {
|
23
|
|
24
|
@Bean
|
25
|
public LocaleContextHandlerInterceptor getlocaleContextHandlerInterceptor(){
|
26
|
return new LocaleContextHandlerInterceptor();
|
27
|
}
|
28
|
|
29
|
}
|