zoukankan      html  css  js  c++  java
  • 《Spring Boot实战》笔记 (六章)

    6.1 基本配置 ................................................................................................................. 138
    6.1.1 入口类和@SpringBootApplication ............................................................. 138
    6.1.2 关闭特定的自动配置 .................................................................................. 139
    6.1.3 定制Banner ................................................................................................. 139
    6.1.4 Spring Boot 的配置文件 .............................................................................. 140
    6.1.5 starter pom .................................................................................................... 141
    6.1.6 使用xml 配置 .............................................................................................. 143
    6.2 外部配置 ................................................................................................................. 143
    6.2.1 命令行参数配置 .......................................................................................... 143
    6.2.2 常规属性配置 .............................................................................................. 144

    application.properties中添加:
    book.name = wwj
    
    入口类:
    @Value("${book.name}")
    private String name;

    6.2.3 类型安全的配置(基于properties) ......................................................... 145

    6.3 日志配置 ................................................................................................................. 148
    6.4 Profile 配置 ............................................................................................................. 148
    实战 .......................................................................................................................... 148
    6.5 Spring Boot 运行原理 ............................................................................................. 150
    6.5.1 运作原理 ...................................................................................................... 153
    6.5.2 核心注解 ...................................................................................................... 154
    6.5.3 实例分析 ...................................................................................................... 157
    6.5.4 实战 .............................................................................................................. 160

  • 相关阅读:
    C++ Websites
    C++ smart pointer
    Use of ‘const’ in Functions Return Values
    Meaning of “const” last in a C++ method declaration?
    为什么不要使用"using namespace XXX"
    android.os.Handler
    Windows下Anaconda的安装和简单使用
    matlab GPU 操作
    matlab 在柱状图上 显示数字
    How to fix apt-get GPG error NO_PUBKEY Ubuntu 14
  • 原文地址:https://www.cnblogs.com/wwjyt/p/5327600.html
Copyright © 2011-2022 走看看