nutzam / nutz

Nutz -- Web Framework(Mvc/Ioc/Aop/Dao/Json) for ALL Java developer
https://nutzam.com
Apache License 2.0
2.53k stars 942 forks source link

关于添加只构造一次Ioc容器的IocProvider的建议 #848

Closed JaynLau closed 9 years ago

JaynLau commented 9 years ago

目前Nutz的所有IocProvider实现都不是对Ioc容器只构造一次,这样在某些特定的情况会重复构造Ioc容器,不注意就会掉进各种坑啊,为Nutz的IocProvider添加只构造一次Ioc容器的实现吧

wendal commented 9 years ago

恩,做个ServletContextListener

wendal commented 9 years ago

fix in 48ee1ba298575562c89528d9b93eaa0e5f6ce493

wendal commented 9 years ago

还需要补充文档.

wendal commented 9 years ago

已经添加文档

JaynLau commented 9 years ago

妥妥的了,哈哈