1 Star 0 Fork 156

peng / Code-Analysis

forked from 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;
Java
1
https://gitee.com/pengjian_ganzhou/code-analysis.git
git@gitee.com:pengjian_ganzhou/code-analysis.git
pengjian_ganzhou
code-analysis
Code-Analysis
master

搜索帮助