com.nepxion.skeleton.framework.configuration.SkeletonConfiguration Maven / Gradle / Ivy
package com.nepxion.skeleton.framework.configuration;
/**
* Title: Nepxion Skeleton
* Description: Nepxion Skeleton For Freemarker
* Copyright: Copyright (c) 2017-2050
* Company: Nepxion
* @author Haojun Ren
* @version 1.0
*/
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import com.nepxion.skeleton.framework.aop.SkeletonBeanPostProcessor;
import com.nepxion.skeleton.framework.controller.SkeletonController;
@Configuration
// @ComponentScan(basePackages = { "com.nepxion.skeleton.framework.controller" })
@Import({ SwaggerConfiguration.class, CorsRegistryConfiguration.class })
public class SkeletonConfiguration {
@Bean
public SkeletonController skeletonController() {
return new SkeletonController();
}
@Bean
public SkeletonBeanPostProcessor skeletonBeanPostProcessor() {
return new SkeletonBeanPostProcessor();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy