inversion-of-control
Windsor Typed Factory Not Releasing Children
I have a factory and component registered in Windsor 2.5.1 like so: interface IFooFactory{ IFoo CreateFoo();[详细]
2023-04-09 02:08 分类:问答Number of Spring Contexts created by ContextLoaderListener
It is easily to know how many contexts have been created if we create ApplicationContext instances programmatically. However, how many context are created if we use ContextLoaderListener? For example[详细]
2023-04-08 23:53 分类:问答Should I use Unity Config file or Code to register types and instances?
Finally started to conf开发者_开发技巧igure an IoC Container! I\'m using Unity and have configured it to have my objects registered using the config file:[详细]
2023-04-08 20:17 分类:问答How can I use the Inversion of Control concept in Sitecore to get non-page items to display themselves?
I have a number of non-page content items that are used as \"callouts\" on the side of pages throughout my website that I am building in Sitecore.Ideally I would like to be able to define the presenta[详细]
2023-04-08 13:58 分类:问答Ninject and private constructors
We\'re using Ninject for IOC. All of our Repository objects can (and should be) mocked for unit testing.I\'d like to enforce that all developers code only to interfaces when interacting with Reposito[详细]
2023-04-08 09:48 分类:问答What is the difference between @Inject and @Autowired
i am just wondering what is the dif开发者_开发知识库ference between @Inject & @Autowired when to use each one ?, or they are doing the same thing ?[详细]
2023-04-07 17:24 分类:问答Ninject + ASP.NET Web Forms Not Working
I\'ve successfully implemented Ninject in an MVC3 application, but am running into some trouble doing the same thing with ASP.NET Web Forms. I\'m getting null references every time I try to access an[详细]
2023-04-06 10:54 分类:问答java.lang.IllegalStateException: Cannot deserialize BeanFactory with id org.springframework.web.context.WebApplicationContext
i am using spring 3 with JSF 2, Tomcat 6 and i replaced JSF managed beans with spring beans, by adding on top of bean:[详细]
2023-04-06 07:06 分类:问答Getting java.io.NotSerializableException with a spring service when stopping tomcat
i am using spring 3 with JSF 2 and i replaced JSF managed beans with spring beans, by adding on top of bean:[详细]
2023-04-06 06:15 分类:问答Using ninject (DI) to instantiate a presenter with webforms and MVP
I\'ve got a webforms app that I\'d like to use dependency injection on. I realize that I can\'t use DI to construct the each Page because webforms doesn\'t have the proper hooks like aspnet MVC does.[详细]
2023-04-06 00:32 分类:问答