![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring 源码
大白手记
这个作者很懒,什么都没留下…
展开
-
Spring源码-DefaultListableBeanFactory-源码解读
/** * Spring's default implementation of the {@link ConfigurableListableBeanFactory} Spring 对 ConfigurableListableBeanFactory 和 BeanDefinitionRegistry * and {@link BeanDefinitionRegistry} interfaces: a full-fledged bean factory 的默认实现:一个基于 bean definiti.原创 2022-03-19 18:24:56 · 426 阅读 · 0 评论 -
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 {@原创 2022-03-19 17:01:16 · 501 阅读 · 0 评论 -
Spring源码-ConfigurableListableBeanFactory-源码解读
/** * Configuration interface to be implemented by most listable bean factories. 配置接口将由大多数 listable bean factories 实现 * In addition to {@link ConfigurableBeanFactory}, it provides facilities to 除了 ConfigurableBeanFactory,它提供功能去 * analyze and modify bean原创 2022-03-19 15:56:28 · 426 阅读 · 0 评论 -
Spring源码-AutowireCapableBeanFactory-源码解读
/** * Extension of the {@link org.springframework.beans.factory.BeanFactory} 扩展自 BeanFactory 的街口,实现了能够凭借 bean 工厂去自动注入 bean 实现 * interface to be implemented by bean factories that are capable of 前提是他们希望为现有的 bean 实例公开此功能 * autowiring, provided that the原创 2022-03-19 15:12:11 · 552 阅读 · 0 评论 -
Spring源码-AbstractBeanFactory-源码解读
/** * Abstract base class for {@link org.springframework.beans.factory.BeanFactory} BeanFactory 接口的抽象类实现 * implementations, providing the full capabilities of the 提供了 ConfigurableBeanFactory 的 spi * {@link org.springframework.beans.factory.co.原创 2022-03-18 20:42:27 · 305 阅读 · 0 评论 -
Spring源码-ConfigurableBeanFactory-源码解读
/** * Configuration interface to be implemented by most bean factories. Provides 大多数 bean 工厂所实现的配置接口 * facilities to configure a bean factory, in addition to the bean factory 除了接口 facilities 的方法以外,还提供配置一个 bean factory 的工具, * client methods in the {@lin原创 2022-03-18 19:57:11 · 460 阅读 · 0 评论 -
Spring源码-ClassPathXmlApplicationContext-源码解读
/** * Standalone XML application context, taking the context definition files 独立的 XML application context,从 class path 拿取 definition files * from the class path, interpreting plain paths as class path resource names 解释绝对路径,将普通路径解释为包含包路径的类资源路径名,例如(my原创 2022-03-16 20:35:46 · 790 阅读 · 0 评论 -
Spring源码-AbstractXmlApplicationContext-源码解读
/** * Convenient base class for {@link org.springframework.context.ApplicationContext} 实用 ApplicationContext 实现 * implementations, drawing configuration from XML documents containing bean definitions 凭借 XmlBeanDefinitionReader 从包含 bean definitions 的 x.原创 2022-03-16 20:13:16 · 852 阅读 · 0 评论 -
Spring源码-AbstractRefreshableConfigApplicationContext-源码解读
/** * {@link AbstractRefreshableApplicationContext} subclass that adds common handling |AbstractRefreshableApplicationContext 的子类 * of specified config locations. Serves as base class for XML-based application 添加了对指定配置位置的公共处理。 * context implementations原创 2022-03-16 19:42:09 · 330 阅读 · 0 评论 -
Spring源码-AbstractRefreshableApplicationContext-源码解读
/** * Base class for {@link org.springframework.context.ApplicationContext} 基础类 ApplicationContext * implementations which are supposed to support multiple calls to {@link #refresh()}, 这个实现支持多次调用 refresh() * creating a new internal bean factory instance原创 2022-03-16 00:15:00 · 355 阅读 · 0 评论 -
Spring源码-AbstractApplicationContext-源码解读
/** * Abstract implementation of the {@link org.springframework.context.ApplicationContext} ApplicationContext 接口的抽象实现 * interface. Doesn't mandate the type of storage used for configuration; simply 不强制要求配置的存储类型 * implements common context functionali原创 2022-03-15 20:59:24 · 374 阅读 · 0 评论 -
Spring源码-ConfigurableApplicationContext-源码解读
/** * SPI interface to be implemented by most if not all application contexts. spi 接口将由大多数 application contexts 所实现 * Provides facilities to configure an application context in addition 除了 ApplicationContext 所提供的 application context 客户端方法外, * to the ap原创 2022-03-15 19:54:33 · 917 阅读 · 0 评论 -
Spring源码-0-基础概念导读
Spring源码-0-基础概念导读简介用于介绍 Spring 中常见类的说明,及特殊类的重要字段说明。类介绍ClassPathXmlApplicationContextAbstractXmlApplicationContextAbstractRefreshableConfigApplicationContextAbstractRefreshableApplicationContextAbstractApplicationContextConfigurableApplicationCon原创 2022-03-15 14:01:30 · 469 阅读 · 0 评论 -
Spring源码-ApplicationContext-源码解读
/** * Central interface to provide configuration for an application. 主要的接口提供配置给一个 application * This is read-only while the application is running, but may be 当 application 运行时,它是仅读的,但是 * reloaded if the implementation supports this. 实现支持,可能实现重新加载原创 2022-03-15 13:28:29 · 260 阅读 · 0 评论 -
Spring源码-HierarchicalBeanFactory-源码解读
/** * Sub-interface implemented by bean factories that can be part 由 bean factory 实现的子接口,等级制度的一部分 * of a hierarchy. * * <p>The corresponding {@code setParentBeanFactory} method for bean可以在 ConfigurableBeanFactory 接口中 * factories that allow sett原创 2022-03-14 21:17:58 · 536 阅读 · 0 评论 -
Spring源码-ListableBeanFactory-解读
/** * Extension of the {@link BeanFactory} interface to be implemented by bean factories 扩展自 BeanFactory 接口,可以枚举通过 bean 工厂实现的所有 bean 实例 * that can enumerate all their bean instances, rather than attempting bean lookup 而不是尝试按照客户的请求通过 name 一个个的查找 * by na原创 2022-03-14 21:01:09 · 603 阅读 · 0 评论 -
Spring源码-BeanFactory-解读
/** * The root interface for accessing a Spring bean container. 用于访问 Spring bean 容器的根接口 * This is the basic client view of a bean container; 这是一个 bean 容器的基本客户端视图 * further interfaces such as {@link ListableBeanFactory} and 更进一步的接口例如 ListableBeanFactor原创 2022-03-14 20:13:44 · 346 阅读 · 0 评论