摘要: 作用: 关闭资源 public interface AutoCloseable { void close() throws Exception;} 阅读全文
posted @ 2020-05-27 16:20 Draymond 阅读(424) 评论(0) 推荐(0) 编辑
摘要: 1: Spring的ResourceLoader的作用 2: ProtocolResolver和DefaultResourceLoader的作用 3:AutoCloseable 作用 4:EnvironmentCapable 作用 5: HierarchicalBeanFactory 6: List 阅读全文
posted @ 2020-05-27 16:13 Draymond 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 作用: 获取Resource 获取ClassLoader public interface ResourceLoader { String CLASSPATH_URL_PREFIX = "classpath:"; Resource getResource(String var1); ClassLoa 阅读全文
posted @ 2020-05-27 16:07 Draymond 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 作用: 获取ioc中的beanpublic interface BeanFactory { String FACTORY_BEAN_PREFIX = "&"; Object getBean(String var1) throws BeansException; <T> T getBean(Strin 阅读全文
posted @ 2020-05-27 15:56 Draymond 阅读(1105) 评论(0) 推荐(0) 编辑