摘要:
一、懒加载 public class Bean1 { public Bean1() { System.out.println(this.getClass().getSimpleName() + ":" + this.toString() + " has been created"); } } Bea 阅读全文
摘要:
一、singleton和prototype public class Bean1 { public Bean1() { System.out.println(this.getClass().getSimpleName() + ":" + this.toString() + " has been cr 阅读全文