当前位置: 首页 > news >正文

深圳网站制作公司兴田德润官方网站wordpress.商品

深圳网站制作公司兴田德润官方网站,wordpress.商品,厦门建站服务,九创wordpress一、思想 我们看到技术上高效简单的使用,其实背后除了奇思妙想的开创性设计,另一点是别人帮你做了复杂繁琐的事情。 二、从官网Demo入手 官网就一行代码。这个就是它的启动代码。 1、SpringBootApplication注解 ①. 三个核心注解的整合。 SpringBootCon…

一、思想

      我们看到技术上高效简单的使用,其实背后除了奇思妙想的开创性设计,另一点是别人帮你做了复杂繁琐的事情。

二、从官网Demo入手

        官网就一行代码。这个就是它的启动代码。

 

        1、@SpringBootApplication注解

                ①.  三个核心注解的整合。

                        @SpringBootConfiguration  (配置注入)

                        @ComponentScan(包下bean组件扫描)

                        @EnableAutoConfiguration     (开启自动配置)

                        (每一个注解都是一个故事,目前咱们只是窥探轮廓)

                

         2、Run代码

                        ① 加载配置文件

                        ②  装载Bean容器,以及监听器启动在其中监控对象的创建过程。

                        ③  加载所有的注解的bean以及自动配置的spring.factories 设置的所有bean

                        ④ 把应用放入内嵌的tomcat服务中

    public ConfigurableApplicationContext run(String... args) {StopWatch stopWatch = new StopWatch();stopWatch.start();ConfigurableApplicationContext context = null;Collection<SpringBootExceptionReporter> exceptionReporters = new ArrayList();this.configureHeadlessProperty();SpringApplicationRunListeners listeners = this.getRunListeners(args);listeners.starting();Collection exceptionReporters;try {ApplicationArguments applicationArguments = new DefaultApplicationArguments(args);ConfigurableEnvironment environment = this.prepareEnvironment(listeners, applicationArguments);this.configureIgnoreBeanInfo(environment);Banner printedBanner = this.printBanner(environment);context = this.createApplicationContext();exceptionReporters = this.getSpringFactoriesInstances(SpringBootExceptionReporter.class, new Class[]{ConfigurableApplicationContext.class}, context);this.prepareContext(context, environment, listeners, applicationArguments, printedBanner);this.refreshContext(context);this.afterRefresh(context, applicationArguments);stopWatch.stop();if (this.logStartupInfo) {(new StartupInfoLogger(this.mainApplicationClass)).logStarted(this.getApplicationLog(), stopWatch);}listeners.started(context);this.callRunners(context, applicationArguments);} catch (Throwable var10) {this.handleRunFailure(context, var10, exceptionReporters, listeners);throw new IllegalStateException(var10);}try {listeners.running(context);return context;} catch (Throwable var9) {this.handleRunFailure(context, var9, exceptionReporters, (SpringApplicationRunListeners)null);throw new IllegalStateException(var9);}}

                        

 

 

http://www.yayakq.cn/news/694752/

相关文章:

  • 企业电子商务的网站的建设方式那个网站做毕业设计
  • 网站开发项目发展现状wordpress 面包屑导航代码
  • 域名注册没有网站刚刚封城最新消息2021
  • 国家企业信用公示系统官方网站电影网站模板html
  • 建立企业的网站有哪几种方案南京电商网站设计公司
  • 怎么在建设银行网站挂号wordpress诗词类主题
  • 湘潭做网站品牌磐石网络wordpress 接收询盘
  • 全flash网站推广一个产品有哪些方式
  • 防止网站被克隆网站商城如何获取流量
  • 网站平面模板网站分为哪几种
  • 网页制作与网站建设实验报告网站建设属于什么费
  • 怎么创建教育网站页游传奇排行榜
  • 在线制作gif表情包青岛关键词优化平台
  • 自建网站代理服务器开发板有什么用
  • 大连推广网站搭建哪家好wordpress 目录模板
  • 移动建站模板公众号 上传wordpress
  • 全国知名网站建个网站平台需要多少钱
  • 怎么在试客网站做佣金单网站识别手机电脑代码
  • 查网站流量查询工具山东鲁桥建设有限公司网站
  • 长沙 外贸网站建设react做的电商网站能上线吗
  • 网站流量推广竞价外包推广专业公司
  • 推广型网站建设公司建设网站是否应当摊销
  • 品牌网站建设服务机构wix建设网站教程
  • 乐清门户网站公司网站开发费用兴田德润在哪儿
  • 蓝田县住房与城乡建设局网站上交所互动平台
  • 荥阳市城乡规划和建设局网站网站表单提交
  • 网站建设佰首选金手指二八中国互联网协会12321举报中心
  • 邯郸有做网站的吗私募基金网站建设
  • 网站建设能干什么做网站的项目流程
  • 电子产品网站建设 实训报告h5模板怎么制作