• 博客园Logo
  • 首页
  • 新闻
  • 博问
  • 会员
  • 闪存
  • 班级
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 简洁模式 ... 退出登录
    注册 登录
Hello World
This is the first demo for each programming language
            管理     
2015年8月31日
Spring学习笔记之三----基于Annotation的Spring IOC配置
摘要: 使用Annotation 来创建Bean有两种方式在配置类中创建bean(配置类是指标注为@Configuration的类),在配置类中每一个创建bean的方法都应该标注为@Bean,可以在@Bean 这个annotation中指定Bean name,如果没有指定,则默认使用方法的名字;注意在配置类... 阅读全文
posted @ 2015-08-31 21:22 Justin X 阅读(285) 评论(0) 推荐(0) 编辑
Copyright © 2023 Justin X
Powered by .NET 7.0 on Kubernetes