2009/6/16 korkless <[email protected]>

>
> i don't want to use spring, in general i don't like it, it gives you a
> mountain (made by 80% by config files) also when you only needs a
> little stone, as in my project.


False.
   // Services for this test
   var sl = new SpringServiceLocatorAdapter(objectFactory);

    objectFactory.RegisterInstance<IServiceLocator>(sl);

    objectFactory.Register<IConversationContainer,
ThreadLocalConversationContainerStub>();

  objectFactory.Register<IConversationsContainerAccessor,
ConversationsContainerAccessorStub>();

    objectFactory.Register<IDaoFactory, DaoFactoryStub>();

    objectFactory.Register<ISillyDao, SillyDaoStub>();

Where is the mountain ?


-- 
Fabio Maulo

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to