lishunli / nutz

Automatically exported from code.google.com/p/nutz
0 stars 0 forks source link

org.nutz.ioc.impl.NutIoc无法设置MirrorFactory #143

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
实例变量mirrors没有任何setter,也没有构造函数可以配置.

总是调用:
// 初始化类工厂, 这是同 AOP 的连接点
mirrors = new DefaultMirrorFactory(this);

Original issue reported on code.google.com by wendal1985@gmail.com on 25 Mar 2010 at 1:06

GoogleCodeExporter commented 9 years ago
fix in r974
为NutIoc添加一个构造方法 
protected NutIoc(ObjectMaker maker, IocLoader loader, IocContext context, String
defaultScope,MirrorFactory mirrors)
当传入的mirrors为null时,使用默认的DefaultMirrorFactory

Original comment by wendal1985@gmail.com on 25 Mar 2010 at 1:18

GoogleCodeExporter commented 9 years ago
又添加了几个 setter r975

Original comment by zozoh...@gmail.com on 25 Mar 2010 at 2:32

GoogleCodeExporter commented 9 years ago

Original comment by wendal1985@gmail.com on 13 May 2010 at 11:07

GoogleCodeExporter commented 9 years ago

Original comment by wendal1985@gmail.com on 14 May 2010 at 11:20