소스 검색

优化springboot的自动装配

bryan31 3 년 전
부모
커밋
55b7c53b01

+ 0 - 18
liteflow-spring-boot-starter/src/main/java/com/yomahub/liteflow/springboot/LiteflowComponentScannerAutoConfiguration.java

@@ -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();
-    }
-}