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

福州网站开发私人新手怎么学做网站

福州网站开发私人,新手怎么学做网站,互联网行业怎么赚钱,手机之家中关村一、思想 我们看到技术上高效简单的使用,其实背后除了奇思妙想的开创性设计,另一点是别人帮你做了复杂繁琐的事情。 二、从官网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/187400/

相关文章:

  • lamp网站开发架构经验广州11区排名
  • 做网站平方根怎么表示在线制作非主流流光闪字 急切网
  • 自助免费网站制作曹县建设厅网站
  • 广告平台网站有哪些wordpress制作网页教程
  • php网站开发文章管理系统新电商平台如何推广
  • 设计一个商务网站网站开发方案服装网站简介
  • cms进行网站开发网站后台上传不了文件
  • 潍坊米搜网站建设禹州做网站的公司
  • 做网站简介wordpress简历页
  • 网站建设维护培训班wordpress编辑分类
  • 怎建网站宝安网
  • 国涟建设集团有限公司网站北京网站建设方案托管
  • 深圳建站公司模板怎样辨别网站
  • 国外网站打开很慢帮别人做视频剪辑的网站
  • 懂得网站推广网站建设模板
  • 上海seo整站优化哈尔滨网站开发制作
  • 网站如何做邮箱订阅洋河门户平台
  • 沙元埔做网站的公司市场营销方案500字
  • 网站导入链接高端网约车
  • 三亚专业网站建设简单网页设计作品
  • 永川区做网站网站如何做内部链接
  • 网站制作视频教程全销售管理系统实验报告
  • 合肥网站seo技术郑州关键词优化顾问
  • seo优化排名技术百度教程在运营中seo是什么意思
  • 免费网站建设浩森宇特软件开发属于什么专业类别
  • 专业网站的定义WordPress文章资讯主题
  • 广西省建设厅官方网站北京seo学校
  • 河南省住房和城乡建设门户网站新能源电动汽车哪个牌子的质量好
  • 服装行业网站建设及推广云空间网站
  • 二级域名免费注册网站营销型 网站开发