package com.chenyang.nse.bussiness.dean;

import com.chenyang.nse.bussiness.local.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.ApplicationArguments;
import org.springframework.stereotype.Component;

@Component
public class DeAnRunner {
   @Autowired
   @Qualifier("DeAnTestServiceImpl")
   private TestService service;

   public void run(ApplicationArguments args) throws Exception {
      this.service.test();
   }
}
