Fetch the repository succeeded.
This action will force synchronization from huifer/Code-Analysis, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
类全路径: org.springframework.context.ConfigurableApplicationContext
类作用: 配置应用上下文
ConfigurableApplicationContext
作为接口在本文仅对方法作用做一个说明
public interface ConfigurableApplicationContext extends ApplicationContext, Lifecycle, Closeable {
/**
* 配置文件分隔符
*/
String CONFIG_LOCATION_DELIMITERS = ",; \t\n";
/**
* 转换服务名称
*/
String CONVERSION_SERVICE_BEAN_NAME = "conversionService";
/**
* LoadTimeWeaver 名称(bean name)
*/
String LOAD_TIME_WEAVER_BEAN_NAME = "loadTimeWeaver";
/**
* 环境名称(bean name)
*/
String ENVIRONMENT_BEAN_NAME = "environment";
/**
* 系统配置名称(bean name)
*/
String SYSTEM_PROPERTIES_BEAN_NAME = "systemProperties";
/**
* 系统环境名称(bean name)
*/
String SYSTEM_ENVIRONMENT_BEAN_NAME = "systemEnvironment";
/**
* 钩子线程名称
*/
String SHUTDOWN_HOOK_THREAD_NAME = "SpringContextShutdownHook";
/**
* 设置应用id
*/
void setId(String id);
/**
* 设置 父上下文
*/
void setParent(@Nullable ApplicationContext parent);
/**
* 获取环境配置
*/
@Override
ConfigurableEnvironment getEnvironment();
/**
* 设置环境配置
*/
void setEnvironment(ConfigurableEnvironment environment);
/**
* 添加 bean工厂后置处理器 {@link BeanFactoryPostProcessor}
*/
void addBeanFactoryPostProcessor(BeanFactoryPostProcessor postProcessor);
/**
* 添加应用监听对象
*/
void addApplicationListener(ApplicationListener<?> listener);
/**
* 添加协议解析器
*/
void addProtocolResolver(ProtocolResolver resolver);
/**
* 刷新
*/
void refresh() throws BeansException, IllegalStateException;
/**
* 注册钩子
*/
void registerShutdownHook();
/**
* 关闭应用
*/
@Override
void close();
/**
* 是否存活
*/
boolean isActive();
/**
* 获取 bean 工厂
*/
ConfigurableListableBeanFactory getBeanFactory() throws IllegalStateException;
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。