推荐
专栏
教程
课程
飞鹅
本次共找到7115条
spring定时器时间配置
相关的信息
Easter79
•
4年前
springboot与安全
概念:安全SpringSecurity是针对Spring项目的安全框架,也是SpringBoot底层安全模块默认的技术选型。他可以实现强大的web安全控制。对于安全控制,我们仅需引入springbootstartersecurity模块,进行少量的配置,即可实现强大的安全管理。几个类: WebSec
Stella981
•
4年前
SpringBoot整合Sqlite数据库流程
1.创建项目 方式一:通过网站https://start.spring.io/ 方式二:通过开发工具(IDEA或者Eclipse自行百度)2.修改pom.xml配置文件,添加必要的驱动包<?xmlversion"1.0"encoding"UTF8"?<projectxmlns"ht
Stella981
•
4年前
Spring Cloud 系列之 Config 配置中心(二)
本篇文章为系列文章,未读第一集的同学请猛戳这里:SpringCloud系列之Config配置中心(一)(https://my.oschina.net/u/4126211/blog/4274304)本篇文章讲解Config如何实现配置中心自动刷新。配置中心自动刷新 点击链接观看:配置中心自动刷新视频(http
Stella981
•
4年前
Spring Cloud Eureka 常用配置详解,建议收藏!
!(https://oscimg.oschina.net/oscnet/f54e84d0dd944d1d9c9e10778ea4acb8.png)前几天,栈长分享了《SpringCloudEureka注册中心集群搭建,Greenwich最新版!(https://www.oschina.net/action/GoToLink?ur
Stella981
•
4年前
Spring boot配置文件 application.properties
本文记录SpringBootapplication.propertis配置文件的相关通用属性COMMONSPRINGBOOTPROPERTIESThissam
Wesley13
•
4年前
2.在spring boot中配置Redis
在java的springboot项目中使用Redis做缓存。操作是1.首先在POM文件中加入redis依赖,2.在application.yml中添加redis的路径、端口和密码spring:redis:host:xxx.xxx.xxx.xxxport:xxxxxpassword:xxxx3.在confi
Stella981
•
4年前
Spring Boot配置文件放在jar外部
SpringBoot配置文件放在jar外部(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fwww.cnblogs.com%2Fxiaoqi%2Fp%2F6955288.html)
Easter79
•
4年前
Spring概念和Bean管理(配置文件)
Spring概念1.spring是开源的轻量级框架(免费,依赖少,可以直接使用)2.spring核心主要两部分: (1)aop:面向切面编程,扩展功能不是修改源代码实现 (2)ioc:控制反转, 比如有个类,在类里面有个方法(不是静态方法),调用类里面的方法,需要创建类的对象,使用对象调用方法,创
Stella981
•
4年前
Spring Security使用详解8(配置多个HttpSecurity)
在之前的文章中我们都只配置一个HttpSecurity,如果业务比较复杂,我们也可以配置多个HttpSecurity,实现对WebSecurityConfigurerAdapter的多次扩展。八、配置多个HttpSecurity1、样例代码(1)配置多个HttpSecurity时,MultiHttpSecurity
Easter79
•
4年前
Spring中配置和读取多个Properties文件
一个系统中通常会存在如下一些以Properties形式存在的配置文件1.数据库配置文件demodb.properties:database.urljdbc:mysql://localhost/smapledatabase.drivercom.mysql.jdbc.Driverdatabase.userroo
1
•••
25
26
27
•••
712