在启动Spring获取SpringBoot项目时,控制台都会出现一个注释,但是有时候却希望出现自己的注释,可以使用这个网站:http://patorjk.com/software/taag 例如,在文本框中输入 hello world,然后选择字体,就会出现: _ _ _ _ _ | | | | | ...
                            
                            
                                分类:
其他好文   时间:
2021-05-24 09:00:56   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                @Autowired@Qualifier("xiaohon")autowired 依据type装配,如果有多个相同的type的bean需要使用qualifier指定具体的类 <bean class="pojo.People" ><!-- <qualifier value="xiohon"/>-->  ...
                            
                            
                                分类:
编程语言   时间:
2021-05-24 08:57:56   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    Spring Security 入门(基本使用) 这几天看了下b站关于 spring security 的学习视频,不得不说 spring security 有点复杂,脑袋有点懵懵的,在此整理下学习内容。 1、入门 1.1、什么是 spring security spring security 是一 ...
                            
                            
                                分类:
编程语言   时间:
2021-05-24 08:31:15   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    @Component classA{ @Autowire private ClassB classB; } @Component classB{ @Autowire private ClassA classA; } 代码执行流程 首先进入org.springframework.beans.facto ...
                            
                            
                                分类:
编程语言   时间:
2021-05-24 08:23:12   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    整合feign 首先需要在下单的服务中整合 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-openfeign</artifactId> <version>2.2.3 ...
                            
                            
                                分类:
其他好文   时间:
2021-05-24 07:39:25   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                源码:https://github.com/xuxueli/xxl-job 按文档启动xxl-job-admin后,可以自己写执行器 执行器: 新建springboot服务 选中spring web、Mysql Driver、JDBC API、Mybatis Framework等依赖 pom.xml ...
                            
                            
                                分类:
其他好文   时间:
2021-05-24 07:07:54   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    该系列文章是本人在学习 Spring 的过程中总结下来的,里面涉及到相关源码,可能对读者不太友好,请结合我的源码注释 Spring 源码分析 GitHub 地址 进行阅读。 Spring 版本:5.1.14.RELEASE 在开始阅读 Spring AOP 源码之前,需要对 Spring IoC 有 ...
                            
                            
                                分类:
编程语言   时间:
2021-05-24 06:47:42   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    execution表达式 * 在AOP的配置中需要配置切入点,那么就需要配置切入点所需要切入的位置 ,需要通过execution表达式来实现。 <aop:config> <aop:pointcut id="pointcut" expression="execution(* com.shi.servi ...
                            
                            
                                分类:
编程语言   时间:
2021-05-24 06:39:46   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                1、在pom文件中先导入生成图像的依赖包 <dependency> <groupId>com.baomidou</groupId> <artifactId>kaptcha-spring-boot-starter</artifactId> <version>1.0.0</version> </depe ...
                            
                            
                                分类:
其他好文   时间:
2021-05-24 06:35:16   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    参考资料: 1、Spring系列之bean的作用域、@Scope注解与proxyMode属性,https://blog.csdn.net/qq_32077121/article/details/107805007(讲解了Scope中代理模式的原理,重点理解) 2、spring aop 源码分析(三) ...
                            
                            
                                分类:
其他好文   时间:
2021-05-24 06:11:26   
                                阅读次数:
0