优化springboot的自动装配

This commit is contained in:
bryan31
2021-08-09 00:53:13 +08:00
parent 22fc98c9e4
commit 55b7c53b01

View File

@@ -1,18 +0,0 @@
package com.yomahub.liteflow.springboot;
import com.yomahub.liteflow.spring.ComponentScanner;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* 组件扫描器自动装配类
* @author Bryan.Zhang
*/
@Configuration
public class LiteflowComponentScannerAutoConfiguration {
@Bean
public ComponentScanner componentScaner(){
return new ComponentScanner();
}
}