Spring基础到实战-12-基于xml方式的Bean的配置概览#程序员 #知识分享 #Spring

osgi通过xml配置加载bean

42
抢首评
15
1
举报
发布时间:2025-11-30 09:51
查看AI文稿
黑马程序员视频库
黑马程序员视频库
认证徽章

粉丝7.8万获赞28.5万

相关视频

  • Spring基础到实战-20-基于xml方式Bean的配置-实例工厂方法方式#Spring #程序员 #知识分享
    05:22
    查看AI文稿
  • Spring基础到实战-22-基于xml方式Bean的配置-实现FactoryBean规范延迟Bean实例化#计算机 #程序员 #Spring
    12:41
    查看AI文稿
  • Spring基础到实战-30-基于xml方式Bean的配置-自定义命名空间标签的使用步骤
    06:13
    查看AI文稿
  • Spring基础到实战-15-基于xml方式Bean的配置-Bean的延迟加载#Spring #程序员 #知识分享
    03:51
    查看AI文稿
  • Spring基础到实战-26-基于xml方式Bean的配置-命名空间的种类
    07:15
    查看AI文稿
  • Spring基础到实战-27-基于xml方式Bean的配置-beans的profile属性切换环境
    06:38
    查看AI文稿
  • Spring基础到实战-19-基于xml方式Bean的配置-静态工厂方法方式#Spring #程序员 #知识分享
    09:34
    查看AI文稿
  • #java #redis #spring #springboot #架构 
Spring中@EnableCaching如何集成Redis 
1.引入redis客户端jar(在pom.xml中添加)
2.创建redis配置文件(application.yaml,redisson.yaml)
3.创建redis相关的bean(RedissonClient,CacheManager)
4.创建服务类用于把从数据库查询到的数据放入缓存(使用@Cacheable)
5.测试代码,查看缓存
    06:04
    查看AI文稿
  • Spring基础到实战-28-基于xml方式Bean的配置-import标签
    05:44
    查看AI文稿
  • Spring基础到实战-21-基于xml方式Bean的配置-有参数的静态工厂和实例工厂方法#计算机 #程序员 #spring
    04:55
    查看AI文稿
  • Spring基础到实战-16-基于xml方式Bean的配置-初始化方法和销毁方法#Spring #程序员 #知识分享
    04:55
    查看AI文稿