12 2019 档案

摘要:pom配置 阅读全文
posted @ 2019-12-24 18:27 java.matt 阅读(1446) 评论(0) 推荐(0)
摘要:AppClassLoader AppClassLoader应用类加载器,又称系统类加载器,负责在JVM启动时加载来自命令java中的classpath或者java.class.path系统属性或者CLASSPATH操作系统属性所指定的JAR类包和类路径 Bootstrap ClassLoder、Ex 阅读全文
posted @ 2019-12-24 00:13 java.matt 阅读(1490) 评论(0) 推荐(0)
摘要:虚拟机团队把类加载阶段中的“通过一个类的全限定名来获取描述此类的二进制字节流”这个动作放到Java虚拟机的外部去实现,以便让应用程序自己决定如何去获取所需要的类。 实现这个动作的代码模块称为“类加载器”。 问题:这个动作放到虚拟机的外部实现,是如何放到虚拟机外部实现的, 什么样是虚拟机外部 类从被加 阅读全文
posted @ 2019-12-23 22:20 java.matt 阅读(155) 评论(0) 推荐(0)
摘要:使用 clone()方法的类必须 implement Cloneable 如果没有继承,clone()方法会报错 java.lang.CloneNotSupportedException异常 阅读全文
posted @ 2019-12-23 18:11 java.matt 阅读(310) 评论(0) 推荐(0)
摘要:创建doc的方式不同,需要增加 DocumentBuilderFactory.setNamespaceAware(true); 这样Element Node.getNamespaceURI 才不为空 DocumentBuilderFactory factory = DocumentBuilderFa 阅读全文
posted @ 2019-12-23 00:10 java.matt 阅读(445) 评论(0) 推荐(0)
摘要:多模块 只有需要编译成jar的模块才设置build 特别父模块为pom的不需要设置build 公共模块common 如何设置build common项目的pom导入了spring-boot-maven-plugin插件,导致打的common jar包与平时的jar包不同。当该jar包被其他模块依赖, 阅读全文
posted @ 2019-12-20 18:31 java.matt 阅读(362) 评论(0) 推荐(0)
摘要:<aop:aspectj-autoproxy/> 配置aspectj启动 AspectJAutoProxyBeanDefintionParser implements BeanDefinitionParser 配置AnnotationAwareAspectJAutoProxyCreator类到Bea 阅读全文
posted @ 2019-12-18 18:34 java.matt 阅读(369) 评论(0) 推荐(0)
摘要:<context:annotation-config/> 解析上面标签,运行下面解析 AnnotationConfigBeanDefinitioinParser implements BeanDefinitionParser{ public BeanDefinition parse(Element 阅读全文
posted @ 2019-12-12 18:07 java.matt 阅读(171) 评论(0) 推荐(0)
摘要:org.springframework.beans.factory.annotation.Autowired AutowiredAnnotationBeanPostProcessor extends InstantiationAwareBeanPostProcessorAdapter public 阅读全文
posted @ 2019-12-11 16:49 java.matt 阅读(809) 评论(0) 推荐(0)
摘要:<context:component-scan base-package="com.matt.cloud"/> bean-context中 spring.handlers文件 http\://www.springframework.org/schema/context=org.springframe 阅读全文
posted @ 2019-12-11 00:18 java.matt 阅读(770) 评论(0) 推荐(0)
摘要:Servlet 是什么 有哪些类 阅读全文
posted @ 2019-12-08 22:08 java.matt 阅读(310) 评论(0) 推荐(0)
摘要:使用 httpclient.4.5.6 springboot 2.0.8RELEASE RetryExec.java CloseableHttpResponse execute() try { return this.requestExecutor.execute(route, request, c 阅读全文
posted @ 2019-12-05 20:27 java.matt 阅读(3897) 评论(0) 推荐(0)
摘要:https://www.ibm.com/developerworks/cn/java/j-groovierspring2.html 阅读全文
posted @ 2019-12-03 18:35 java.matt 阅读(1058) 评论(0) 推荐(0)
摘要:获取修改时间 long lastTime = file.lastModified(); 原文链接:https://blog.csdn.net/liuyueyi25/article/details/79292971 现在的问题时,我需要在这个文件的内容发生变动时,应用可以感知这种变动,并重新加载文件内 阅读全文
posted @ 2019-12-03 14:53 java.matt 阅读(3530) 评论(0) 推荐(1)
摘要:https://docs.spring.io/spring/docs/5.1.6.RELEASE/spring-framework-reference/languages.html#dynamic-language 阅读全文
posted @ 2019-12-03 11:31 java.matt 阅读(140) 评论(0) 推荐(0)
摘要:DefaultResourceLoader -- > ResourceLoader 方法 ResourceLoader getResource(String location); ClassLoader getClassLoader(); ResourceLoader用来获取Resource和Cla 阅读全文
posted @ 2019-12-02 18:31 java.matt 阅读(294) 评论(0) 推荐(0)
摘要:BeanFactoryPostProcessor PriorityOrdered | | PropertyPlaceholderConfigurer --> PlaceholderConfigurerSupport --> PropertyResourceConfigurer -- > proper 阅读全文
posted @ 2019-12-02 18:16 java.matt 阅读(175) 评论(0) 推荐(0)