63 Star 427 Fork 156

huifer/Code-Analysis

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Spring-DocumentDefaultsDefinition.md 838 Bytes
一键复制 编辑 原始数据 按行查看 历史

Spring DocumentDefaultsDefinition

  • 类全路径: org.springframework.beans.factory.xml.DocumentDefaultsDefinition

  • DocumentDefaultsDefinition 作用主要是和 <bean/> 标签做一个绑定关系或者说是对象映射, 接下来我们了解一下属性

内部变量


	/**
	 * true or false
	 * 是否懒加载
	 */
	@Nullable
	private String lazyInit;

	/**
	 * true or false
	 */
	@Nullable
	private String merge;

	/**
	 * no or byName or byType
	 * 自动注入方式
	 */
	@Nullable
	private String autowire;

	/**
	 * default-autowire-candidates
	 *
	 */
	@Nullable
	private String autowireCandidates;

	/**
	 * 实例化方法
	 */
	@Nullable
	private String initMethod;

	/**
	 * 摧毁方法
	 */
	@Nullable
	private String destroyMethod;

	/**
	 * 源对象
	 */
	@Nullable
	private Object source;
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/pychfarm_admin/code-analysis.git
git@gitee.com:pychfarm_admin/code-analysis.git
pychfarm_admin
code-analysis
Code-Analysis
v0.0.15

搜索帮助