1 Star 0 Fork 156

whipper86 / Spring-Analysis

forked from huifer / Code-Analysis 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Spring-ConfigurableListableBeanFactory.md 1.29 KB
一键复制 编辑 原始数据 按行查看 历史
huifer 提交于 2020-12-24 14:00 . feat: v0.0.18

Spring ConfigurableListableBeanFactory

  • 类全路径: org.springframework.beans.factory.config.ConfigurableListableBeanFactory

  • ConfigurableListableBeanFactory 作为接口本文仅作方法作用介绍


public interface ConfigurableListableBeanFactory
		extends ListableBeanFactory, AutowireCapableBeanFactory, ConfigurableBeanFactory {

	/**
	 * 设置忽略的依赖类型
	 */
	void ignoreDependencyType(Class<?> type);

	/**
	 * 设置忽略的依赖接口
	 */
	void ignoreDependencyInterface(Class<?> ifc);

	/**
	 * 注册依赖
	 */
	void registerResolvableDependency(Class<?> dependencyType, @Nullable Object autowiredValue);

	/**
	 * 是否是依赖候选对象
	 */
	boolean isAutowireCandidate(String beanName, DependencyDescriptor descriptor)
			throws NoSuchBeanDefinitionException;

	/**
	 * 获取bean定义
	 */
	BeanDefinition getBeanDefinition(String beanName) throws NoSuchBeanDefinitionException;

	/**
	 * 获取 beanName 迭代器
	 *
	 */
	Iterator<String> getBeanNamesIterator();

	/**
	 * 清空元数据缓存
	 */
	void clearMetadataCache();

	/**
	 * 冻结 配置
	 */
	void freezeConfiguration();

	/**
	 * 配置是否冻结
	 */
	boolean isConfigurationFrozen();

	/**
	 * 实例化单例对象
	 */
	void preInstantiateSingletons() throws BeansException;

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

搜索帮助