1 Star 0 Fork 156

南风不竞 / Spring-Analysis

forked from huifer / Code-Analysis 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Spring-BeanInfoFactory.md 666 Bytes
一键复制 编辑 原始数据 按行查看 历史
huifer 提交于 2020-11-25 11:15 . docs: BeanInfoFactory

Spring BeanInfoFactory

  • 类全路径: org.springframework.beans.BeanInfoFactory

BeanInfoFactory 主要作用是将BeanInfo接口返回

代码如下

public interface BeanInfoFactory {

	/**
	 * Return the bean info for the given class, if supported.
	 * @param beanClass the bean class
	 * @return the BeanInfo, or {@code null} if the given class is not supported
	 * @throws IntrospectionException in case of exceptions
	 */
	@Nullable
	BeanInfo getBeanInfo(Class<?> beanClass) throws IntrospectionException;

}

这个接口只有一个实现 ExtendedBeanInfoFactory 相关分析可以看: 这篇文章

Java
1
https://gitee.com/limengcanyu/spring-analysis.git
git@gitee.com:limengcanyu/spring-analysis.git
limengcanyu
spring-analysis
Spring-Analysis
master

搜索帮助