码迷,mamicode.com
首页 >  
搜索关键字:Spring Security    ( 50397个结果)
springBoot读取配置文件、多环境、热部署、打包等基本配置
读取配置文件 在以前的项目中我们主要在 XML 文件中进行框架配置,业务的相关配置会放在属性文件中, 然后通过一个属性读取的工具类来读取配置信息。在 Spring Boot 中我们不再需要使用这种方式去读取数据了。 Spring Boot 中的配置通常放在 application.propertie ...
分类:编程语言   时间:2020-07-30 18:24:49    阅读次数:112
Spring MVC基础
1. Spring与Web环境集成 1.1 ApplicationContext应用上下文获取方式 应用上下文对象是通过new ClasspathXmlApplicationContext(spring配置文件) 方式获取的,但是每次从容器中获得Bean时都要编写new ClasspathXmlAp ...
分类:编程语言   时间:2020-07-30 18:20:11    阅读次数:66
Spring Cloud 学习记录
Spring Cloud 学习记录 参考资料: SpringCloud 与 SpringBoot 版本对应 SpringCloud 与 SpringBoot 版本对应 Release Trains ...
分类:编程语言   时间:2020-07-30 18:18:24    阅读次数:65
Spring Boot 定时任务单线程和多线程
1、创建定时任务: @Component public class AutoNotifyController { /** * 获取RedisUtils注入的bean * * @return */ private ThreadUtil getThreadUtil() { ThreadUtil thre ...
分类:编程语言   时间:2020-07-30 16:53:27    阅读次数:71
spring-mybatis整合
整合必备的依赖 <dependencies> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjweaver</artifactId> <version>1.9.4</version> </dependency> <depe ...
分类:编程语言   时间:2020-07-30 16:44:11    阅读次数:57
SpringBoot @PostConstruct的用法
前言 本节我们将学习一下@PostConstruct的用法。 概述 @PostContruct是spring框架的注解,在方法上加该注解会在项目启动的时候执行该方法,也可以理解为在spring容器初始化的时候执行该方法。 /** * 项目启动时,初始化定时器 */ @PostConstruct pu ...
分类:编程语言   时间:2020-07-30 14:39:59    阅读次数:100
spring aop 源码分析(三) @Scope注解创建代理对象
一.源码环境的搭建: @Component @Scope(scopeName = ConfigurableBeanFactory.SCOPE_SINGLETON,proxyMode = ScopedProxyMode.TARGET_CLASS) public class MyMath impleme ...
分类:编程语言   时间:2020-07-30 14:24:46    阅读次数:64
Eureka系列(九)Eureka自我保护机制
因为本篇简文并不是自己总结的,而是当了下搬运工,所以直接直接附上原作者博客链接。 参考链接: 1.SpringCloud Eureka自我保护机制 2.Spring Cloud Eureka 自我保护机制 自我保护背景 首先对Eureka注册中心需要了解的是Eureka各个节点都是平等的,没有ZK中 ...
分类:其他好文   时间:2020-07-30 14:19:59    阅读次数:68
PHP源代码安全审计工具之wpBullet
WordPress Plugins/Themes和PHP的静态代码分析工具 https://github.com/webarx-security/wpbullet wpbullet-20190604 Usage: wpbullet.py [-h] [--path PATH] [--enabled E ...
分类:Web程序   时间:2020-07-30 14:17:52    阅读次数:98
idea搭建springboot项目(一)
第一步:先创建父工程 1、Create New Project 或File>New>Project... 或 2、选择Spring Initializr,然后点击Next 3、输入Group与Artifact,其中GroupId为域.公司名,Artifact为项目名 ,Java Version选 8 ...
分类:编程语言   时间:2020-07-30 10:46:25    阅读次数:150
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!