Spring源码-AbstractAutowireCapableBeanFactory-源码解读

/**
 * Abstract bean factory superclass that implements default bean creation,				默认实现了超类 Abstract bean 的创造 bean
 * with the full capabilities specified by the {@link RootBeanDefinition} class.		伴随着 RootBeanDefinition class 去创造完整的 bean
 * Implements the {@link org.springframework.beans.factory.config.AutowireCapableBeanFactory}	实现 AutowireCapableBeanFactory 接口
 * interface in addition to AbstractBeanFactory's {@link #createBean} method.			去添加 AbstractBeanFactory 的 createBean 方法
 *
 * <p>Provides bean creation (with constructor resolution), property population,		提供 bean 创建,伴随着构造函数解析,填充属性,
 * wiring (including autowiring), and initialization. Handles runtime bean				注入(包括自动注入)和初始化。处理运行时 bean 引用,
 * references, resolves managed collections, calls initialization methods, etc.			解析管理容器,调用初始化方法,以及
 * Supports autowiring constructors, properties by name, and properties by type.		支持自动注入构造函数,按名字的属性,和按类型的属性
 *
 * <p>The main template method to be implemented by subclasses is						子类要实现的主要模版方法是 resolveDependency
 * {@link #resolveDependency(DependencyDescriptor, String, Set, TypeConverter)},
 * used for autowiring by type. In case of a factory which is capable of searching		按照类型去自动连接。如果工厂能够搜索 bean definition。
 * its bean definitions, matching beans will typically be implemented through such		通常会按照这样的方式去搜索匹配 bean
 * a search. For other factory styles, simplified matching algorithms can be implemented.	对于其他工厂风格可以实现简单的匹配实现
 *
 * <p>Note that this class does <i>not</i> assume or implement bean definition			注意这个类没有实现 bean definition	注册功能,
 * registry capabilities. See {@link DefaultListableBeanFactory} for an implementation	查看 DefaultListableBeanFactory 和 ListableBeanFactory 和 BeanDefinitionRegistry 接口
 * of the {@link org.springframework.beans.factory.ListableBeanFactory} and				分别代表这个工厂的 api 和 spi
 * {@link BeanDefinitionRegistry} interfaces, which represent the API and SPI
 * view of such a factory, respectively.
 *
 * @author Rod Johnson
 * @author Juergen Hoeller
 * @author Rob Harrop
 * @author Mark Fisher
 * @author Costin Leau
 * @author Chris Beams
 * @author Sam Brannen
 * @since 13.02.2004
 * @see RootBeanDefinition
 * @see DefaultListableBeanFactory
 * @see BeanDefinitionRegistry
 */
public abstract class AbstractAutowireCapableBeanFactory extends AbstractBeanFactory
		implements AutowireCapableBeanFactory {}
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值