activating the swagger rest service documentation by reverting the revertion of the...
[cdmlib.git] / cdmlib-remote-webapp / src / main / java / eu / etaxonomy / cdm / remote / config / PreloadedBeans.java
1 // $Id$
2 /**
3 * Copyright (C) 2014 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
6 *
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
9 */
10 package eu.etaxonomy.cdm.remote.config;
11
12 import org.springframework.context.annotation.Bean;
13
14 import eu.etaxonomy.cdm.remote.controller.interceptor.LocaleContextHandlerInterceptor;
15
16 /**
17 * @author a.kohlbecker
18 * @date Jul 28, 2014
19 *
20 */
21 public class PreloadedBeans {
22
23 @Bean
24 public LocaleContextHandlerInterceptor getlocaleContextHandlerInterceptor(){
25 return new LocaleContextHandlerInterceptor();
26 }
27
28 }