package com.yihu.hos.rest.common.configuration;

import com.yihu.hos.rest.common.filter.HibernateFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;

/**
 * @author HZY
 * @vsrsion 1.0
 * Created at 2016/8/5.
 */
@Configuration
@ImportResource({"classpath:spring/applicationContext.xml"})
public class BeanConfiguration {
    @Bean
    public HibernateFilter filterConfig() {
        return new HibernateFilter();
    }
}
