springboot源码阅读之Application.run()--new SpringApplication(primarySources)
1.通过SpringApplication.run(DemoApplication.class,args);进入run方法。2.用一个Class数组把传入的Class对象装起来,调用另一个run方法。publicstaticConfigurableApplicationContextrun(ClassprimarySource,String...args){returnrun(newClass[]