All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pro.shuangxi.devTool.DevToolConfiguration Maven / Gradle / Ivy

There is a newer version: 1.0.6
Show newest version
package pro.shuangxi.devTool;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import pro.shuangxi.devTool.mybatis.MybatisDevToolProperties;
import pro.shuangxi.devTool.servlet.ServletDevToolProperties;
import pro.shuangxi.devTool.utils.SpringUtils;

/**
 * @author mengshx
 **/
@Configuration
@EnableConfigurationProperties({DevToolProperties.class,MybatisDevToolProperties.class,ServletDevToolProperties.class})
public class DevToolConfiguration {

    public DevToolConfiguration(ConfigurableListableBeanFactory beanFactory) {
        SpringUtils.setBeanFactory(beanFactory);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy