摘要:
详细请看http://www.cnblogs.com/leoo2sk/archive/2009/06/17/1504693.html 定义一个接口,和两个类(实现该接口) IButton: WindowsButton: MacButton: ReflectionFactory: 主入口: xml: 阅读全文
摘要:
图3.1 Setter注入示意 定义一个接口: 定义一个要实现该接口的类A: 定义一个要实现该接口的类B: 定义一个主体类 注入点: Main: 结果: 阅读全文