类 MyApplicationRunner

  • 所有已实现的接口:
    org.springframework.boot.ApplicationRunner

    @Component
    public class MyApplicationRunner
    extends Object
    implements org.springframework.boot.ApplicationRunner
    • 构造器详细资料

      • MyApplicationRunner

        public MyApplicationRunner()
    • 方法详细资料

      • setBaseControllers

        @Autowired
        public void setBaseControllers​(BaseController[] apis)
      • run

        public void run​(org.springframework.boot.ApplicationArguments args)
                 throws Exception
        指定者:
        run 在接口中 org.springframework.boot.ApplicationRunner
        抛出:
        Exception