From 703ca8ccdaaab728ed824ccba6748b2dfec16592 Mon Sep 17 00:00:00 2001 From: qi Date: Thu, 14 May 2020 16:23:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../InstantiationTracingBeanPostProcessor.java | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/src/main/java/com/lq/code/executor/processor/InstantiationTracingBeanPostProcessor.java b/src/main/java/com/lq/code/executor/processor/InstantiationTracingBeanPostProcessor.java index c7e2154..8029105 100755 --- a/src/main/java/com/lq/code/executor/processor/InstantiationTracingBeanPostProcessor.java +++ b/src/main/java/com/lq/code/executor/processor/InstantiationTracingBeanPostProcessor.java @@ -1,6 +1,5 @@ package com.lq.code.executor.processor; -import com.lq.code.dto.QueueDto; import com.lq.code.util.BeanUtil; import com.lq.code.util.jdbc.JdbcUtils; import com.lq.code.util.sql.AbstractDbBuiler; @@ -9,12 +8,6 @@ import com.lq.code.util.sql.factory.DbBuilerFactory; import com.lq.code.util.sql.factory.impl.DefaultDbBuilerFactory; import org.springframework.context.ApplicationListener; import org.springframework.context.event.ContextRefreshedEvent; -import org.springframework.core.io.Resource; -import org.springframework.core.io.support.PathMatchingResourcePatternResolver; -import org.springframework.core.io.support.ResourcePatternResolver; - -import java.util.Arrays; -import java.util.List; import java.util.Set; /** @@ -22,9 +15,13 @@ import java.util.Set; * @author qi */ public class InstantiationTracingBeanPostProcessor implements ApplicationListener { - - private String packagePath ; - + /** + * 指定扫描包路径 + */ + private String packagePath; + /** + * 是否更新数据库 + */ private boolean isUpdateDB; public String getPackagePath() {