12 2018 档案

摘要:打开jdk目录下的 jre\lib\security\java.security 注解掉 jdk.tls.disabledAlgorithms 阅读全文
posted @ 2018-12-05 17:38 柚子苹果果 阅读(576) 评论(0) 推荐(0)
摘要:一、准备工作 创建一个Class注解@Configuration,如下例子: @Configuration // 该注解可理解为将当前class等同于一个xml文件 @ComponentScan("com.imooc.springClass5.annotation") // 开启包扫描 public 阅读全文
posted @ 2018-12-02 20:17 柚子苹果果 阅读(462) 评论(0) 推荐(0)
摘要:一、懒加载 public class Bean1 { public Bean1() { System.out.println(this.getClass().getSimpleName() + ":" + this.toString() + " has been created"); } } Bea 阅读全文
posted @ 2018-12-01 19:56 柚子苹果果 阅读(239) 评论(0) 推荐(0)
摘要:一、singleton和prototype public class Bean1 { public Bean1() { System.out.println(this.getClass().getSimpleName() + ":" + this.toString() + " has been cr 阅读全文
posted @ 2018-12-01 15:06 柚子苹果果 阅读(285) 评论(0) 推荐(0)