package com.chenyang.nse.bussiness.init;

import com.chenyang.nse.bussiness.service.webApi.business.SecretKeyCache;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Component
@Order(999)
public class SecretKeyInitializer implements ApplicationRunner {
   public void run(ApplicationArguments args) throws Exception {
      SecretKeyCache.instance().initialize();
   }
}
