摘要: 一、API 1、int getAndIncrement() 返回旧值,然后自增 2、int incrementAndGet() 自增,然后返回新值 3、int getAndDecrement() 返回旧值,然后自减 4、int decrementAndGet() 自减,然后返回新值 5、boolea 阅读全文
posted @ 2021-01-05 22:55 huang1993 阅读(170) 评论(0) 推荐(0)
摘要: ResourceLoader:定义资源加载器,主要应用于根据给定的资源文件地址返回对应的Resource。BeanDefinitionReader:主要定义资源文件读取并转换为BeanDefinition的各个功能。EnvironmentCapable:定义获取Environment方法。Docum 阅读全文
posted @ 2021-01-05 10:09 huang1993 阅读(143) 评论(0) 推荐(0)
摘要: AliasRegistry:定义对alias的简单增删改等操作。SimpleAliasRegistry:主要使用map作为alias的缓存,并对接口AliasRegistry进行实现。SingletonBeanRegistry:定义对单例的注册及获取。BeanFactory:定义获取bean及bea 阅读全文
posted @ 2021-01-05 10:07 huang1993 阅读(177) 评论(0) 推荐(0)