码迷,mamicode.com
首页 >  
搜索关键字:configuration    ( 5921个结果)
自定义Spring Boot的启动器
49.5 一个库的完整Spring Boot启动器可能包含以下组件: autoconfigure 模块包含自动配置(auto-configuration)的代码 启动器模块,它提供对autoconfigure模块以及库的依赖关系以及通常有用的任何其他依赖关系。简而言之,添加启动器应该提供使用该库所需 ...
分类:编程语言   时间:2019-07-30 11:05:43    阅读次数:106
Spring Boot 2.X 实战教程(7)构建代码
7.构建配置 7.1配置类 Spring Boot支持基于Java的配置。尽管可以将SpringApplication与XML源一起使用,但我们通常建议您的主要源代码是单个@configuration类。通常,定义main方法的类作为主@configuration。 7.2自动配置 Spring B ...
分类:编程语言   时间:2019-07-29 18:58:45    阅读次数:124
STM32F0库函数初始化系列:PWM输出
void TIM1_Configuration(void) { TIM_TimeBaseInitTypeDef TIM_Time1BaseStructure; TIM_OCInitTypeDef TIM_OCInitStructure; RCC_APB2PeriphClockCmd(RCC_APB2... ...
分类:其他好文   时间:2019-07-29 17:33:17    阅读次数:153
STM32F4库函数初始化系列:串口DMA接收
1 u8 _data1[4]; 2 void Configuration(void) 3 { 4 USART_InitTypeDef USART_InitStructure; 5 DMA_InitTypeDef DMA_InitStructure; 6 GPIO_InitTypeDef GPIO_I... ...
分类:其他好文   时间:2019-07-29 16:19:24    阅读次数:323
@ConfigurationProperties 注解使用姿势,这一篇就够了
在编写项目代码时,我们要求更灵活的配置,更好的模块化整合。在 Spring Boot 项目中,为满足以上要求,我们将大量的参数配置在 application.properties 或 application.yml 文件中,通过 注解,我们可以方便的获取这些参数值 使用 @Configuration ...
分类:其他好文   时间:2019-07-29 09:44:55    阅读次数:314
log4j.properties配置文件详解
Log4J的配置文件(Configuration File)就是用来设置记录器的级别、存放器和布局的,它可接key=value格式的设置或xml格式的设置信息。通过配置,可以创建出Log4J的运行环境。 1. 配置文件Log4J配置文件的基本格式如下: 其中 [ level ] 是日志输出级别:ER ...
分类:其他好文   时间:2019-07-25 23:43:49    阅读次数:131
华为交换机trunk端口更改access提示:Error: Please renew the default configurations.
现象: 华为交换机接口由原来 trunk 接口更改 access 提示 Error: Please renew the default configurations. 解决方法: 在交换机视图模式下,使用 clear configuration interface GigabitEthernet 0 ...
分类:数据库   时间:2019-07-25 16:06:58    阅读次数:344
spring boot2.0+ 中配置log4j日志
1、maven引入包,排除默认日志 2、添加配置文件,放到resources下,启动项目,就可以记录日志了,相关配置的修改可在配置文件中操作。 1 <?xml version="1.0" encoding="UTF-8"?> 2 <configuration> 3 <appenders> 4 <!- ...
分类:编程语言   时间:2019-07-24 13:44:57    阅读次数:148
ABP 使用cache缓存
using Abp.Application.Services.Dto; using Abp.Runtime.Caching; using Microsoft.Extensions.Configuration; using Newtonsoft.Json; using Newtonsoft.Json.... ...
分类:系统相关   时间:2019-07-23 18:41:42    阅读次数:140
docker提示没有开启转发解决方法
vim /usr/lib/sysctl.d/00-system.conf [root@t1 ~]# vim /usr/lib/sysctl.d/00-system.conf# Kernel sysctl configuration file## For binary values, 0 is dis ...
分类:其他好文   时间:2019-07-23 14:48:40    阅读次数:314
共5921条   上一页 1 ... 88 89 90 91 92 ... 593 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!