删除废弃代码

master
星期八 6 years ago
parent 9ace146084
commit 055b70ee14
  1. 1
      src/main/java/com/lq/code/executor/processor/InstantiationTracingBeanPostProcessor.java

@ -41,7 +41,6 @@ public class InstantiationTracingBeanPostProcessor implements ApplicationListene
@Override
public void onApplicationEvent(ContextRefreshedEvent contextRefreshedEvent) {
if(contextRefreshedEvent.getApplicationContext().getParent() == null){
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
//root application context 没有parent,他就是老大.
//需要执行的逻辑代码,当spring容器初始化完成后就会执行该方法。
//扫描实体类

Loading…
Cancel
Save