Easter79 Easter79
4年前
Spring源码学习(五) 创建Bean过程中的扩展点
引言上班挺累事事都烦写篇文章兑现诺言一图胜所有!getbean的扩展点(https://oscimg.oschina.net/oscnet/9a65dd9720f265c3a1a95695f1ae78c8e61.jpg"getbean的扩展点")绿色的部一般用于Spring内部扩展,黄色的部分可用于
Easter79 Easter79
4年前
SpringFramework之ContentNegotiation内容协商
  Spring版本5.1.4.release.  内容协商是用在Springmvc返回Controller方法结果序列化时使用,而不是解析mvc参数时使用。    Springmvc支持4种内容协商,拓展名、固定值、Http的头部Accept、请求参数format,那Springmvc中怎么实现的呢,怎么使用已经有很多人分析了,这里来分析下
Easter79 Easter79
4年前
SpringBoot的事件监听
事件监听的流程分为三步:1、自定义事件,一般是继承ApplicationEvent抽象类。2、定义事件监听器,一般是实现ApplicationListener接口。3、a、启动的时候,需要将监听器加入到Spring容器中。b、或者将监听器加入到容器中。@Componentc、使用@EventLis
Easter79 Easter79
4年前
SpringBoot集成Spring Security实现登陆和简单权限验证
1.数据库配置好2.导依赖<!springsecurity安全认证<dependency<groupIdorg.springframework.boot</groupId<artifactIdspringb
Stella981 Stella981
4年前
Shiro
我们在applicationContext中配置受保护的资源和权限的关系    <propertyname"filterChainDefinitions"<value/login.jspanon/shiro/loginanon
Stella981 Stella981
4年前
Spring Boot 2.0 + FastJson 1.2.+作为JSON序列化
SpringBoot配置FastJson的时候,报错:java.lang.IllegalArgumentException:ContentTypecannotcontainwildcardtype''atorg.springframework.util.Assert.isTrue(Assert.java:116)~
Stella981 Stella981
4年前
Flowable论坛提问记录
1\.ExclusiveGateway之后的SequenceFlow同时配置了skipexpress和conditionexpression,流程如何走?https://forum.flowable.org/t/questionaboutskipexpressionofsequenceflowoutgoingfromexc
Wesley13 Wesley13
4年前
LINUX下如何搭建LAMP环境?
第一步1 安装linux系统2 配置linux 网络Vi  /etc/sysconfig/networkscripts/ifcfgeth0IPADDRNETMA
可莉 可莉
4年前
100 个经典 Spring 面试题详解(附答案)
这篇文章主要分享了100个Spring经典面试题,现在分享给大家,也给大家做个参考。正好现在金九银十,希望对大家有所帮助,觉得有用的朋友点赞支持一下哦!!在这里插入图片描述(https://imgblog.csdnimg.cn/20200910203222688.jpg?xossprocessimage/watermark,type_
待兔 待兔
1年前
Kotlin扩展函数本质到底是什么?
Kotlin扩展函数本质到底是什么?先说点题外话。不知道各位朋友,你们的项目中,有没有用kotlin,但是安卓领域,新项目,几乎都是用kotlin写了。也许后端spring那一套,估计有很多老项目还是java,个人一点粗浅的看法,kotlin用过之后,是真