package com.xintong.visualinspection.visuallnspection_fjq;

import com.alibaba.dubbo.config.annotation.Reference;
import com.xintong.visualinspection.service.*;
import com.xintong.visualinspection.util.CacheUtil;
import org.slf4j.LoggerFactory;
import org.springframework.boot.CommandLineRunner;
import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextRefreshedEvent;
import org.springframework.stereotype.Component;

@Component
public class SystemInit implements CommandLineRunner {

    @Reference(version = "1.0.0",
            application = "${dubbo.application.id}",
            registry = "${dubbo.registry.address}")
    private CommonService commonService;

	private static final org.slf4j.Logger logger = LoggerFactory.getLogger(SystemInit.class);


    @Override
    public void run(String... strings) throws Exception {

        System.out.println("_________________________________________________________________");

       // System.out.println(commonService.getCodeFlagMap().toString());
    }
}
