推荐
专栏
教程
课程
飞鹅
本次共找到1769条
spring
相关的信息
Easter79
•
3年前
Spring注解校验1
Spring字段校验的注解说明限制说明@Null(https://my.oschina.net/u/561366)限制只能为null@NotNull(https://my.oschina.net/notnull)限制必须不为null@AssertFalse(https://my.oschina.net/u/24
Stella981
•
3年前
Spring RabbitMQ Channel理解
概述在AMQP协议中,有channel的概念,在RabbitMq中,channel表示逻辑连接或者叫虚拟连接,是棣属于TCP连接的。一个TCP连接里可以创建多个channel,在RabbitMQ里,消息的发送和接收都是基于channel的。!collection和channel的关系(htt
Easter79
•
3年前
Spring中AOP实现
1.什么是SpringAOP什么是aop:AspectOrientedProgramming的缩写,面向切面编程,通过预编译和动态代理实现程序功能的统一维护的一种技术主要功能:日志记录,性能统计,安全控制,事务处理,异常处理等2.SpringAOP框架的用途提供了声明
Easter79
•
3年前
SpringBoot中使用spring
!(https://oscimg.oschina.net/oscnet/a5d39477c38dc061a3de98a7988dc7c89ad.png) Java客户端使用SpringDataJpa这个组件。!(https://oscimg.oschina.net/oscnet/a8e02b3c41d7fb9e6ce552e20fc0f5
Stella981
•
3年前
Spring Boot 集成 XXL
在开发中需要将已有的定时任务抽离出来,方便管理查看,因此选择集成分布式任务调度平台XXLJOB,本文就讲解下SpringBoot如何集成XXLJOB任务调度平台。XXLJOB简介XXLJOB是一个分布式任务调度平
Stella981
•
3年前
Spring Bean创建过程
通过前面几篇文章的分析,我们对Spring框架,Bean,Context和Core都有了一定了解,结合之前的基础,我们研究下ApplicationContext创建Bean的的过程。 Bean的创建过程可以分为两类:第一类是容器创建时就创建,这类Bean必须是Singleton的,并且lazyinit为false,这也是Bean的默认配
Stella981
•
3年前
Spring Boot 文件上传
通过MultipartFile来处理文件上传:publicStringhandleFormUpload(Stringname,MultipartFilefile)throwsIOException{if(!file.isEmpty){StringfileNamefile.get
Stella981
•
3年前
Spring 中 redis 使用
1.配置redis.host60.205.57.141redis.port6379redis.pass123456redis.maxIdle300redis.maxActive600redis.maxWait1000redis.maxtotal500
Stella981
•
3年前
Spring core 源码分析
上节提到了在AbstractApplicationContext调用refresh方法里,初始化所有BeanDefinitions后,遍历所有BeanDefinitionNames后,循环调用BeanFactory的getBean(name)方法,实例化所有容器Bean对象(非lasyinit)。GetBean做了什么?循环引用如何处理
Stella981
•
3年前
Spring Boot集成 Sharding
!(https://oscimg.oschina.net/oscnet/67b5e5bc702a227b0eb26c86dd031ba2979.jpg)一、Sh
1
•••
56
57
58
•••
177