|
|
@ -1,6 +1,5 @@ |
|
|
|
package com.lq.code.executor.processor; |
|
|
|
package com.lq.code.executor.processor; |
|
|
|
|
|
|
|
|
|
|
|
import com.lq.code.dto.QueueDto; |
|
|
|
|
|
|
|
import com.lq.code.util.BeanUtil; |
|
|
|
import com.lq.code.util.BeanUtil; |
|
|
|
import com.lq.code.util.jdbc.JdbcUtils; |
|
|
|
import com.lq.code.util.jdbc.JdbcUtils; |
|
|
|
import com.lq.code.util.sql.AbstractDbBuiler; |
|
|
|
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 com.lq.code.util.sql.factory.impl.DefaultDbBuilerFactory; |
|
|
|
import org.springframework.context.ApplicationListener; |
|
|
|
import org.springframework.context.ApplicationListener; |
|
|
|
import org.springframework.context.event.ContextRefreshedEvent; |
|
|
|
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; |
|
|
|
import java.util.Set; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -22,9 +15,13 @@ import java.util.Set; |
|
|
|
* @author qi |
|
|
|
* @author qi |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public class InstantiationTracingBeanPostProcessor implements ApplicationListener<ContextRefreshedEvent> { |
|
|
|
public class InstantiationTracingBeanPostProcessor implements ApplicationListener<ContextRefreshedEvent> { |
|
|
|
|
|
|
|
/** |
|
|
|
private String packagePath ; |
|
|
|
* 指定扫描包路径 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
private String packagePath; |
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 是否更新数据库 |
|
|
|
|
|
|
|
*/ |
|
|
|
private boolean isUpdateDB; |
|
|
|
private boolean isUpdateDB; |
|
|
|
|
|
|
|
|
|
|
|
public String getPackagePath() { |
|
|
|
public String getPackagePath() { |
|
|
|