2009/6/29 Jason Meckley <[email protected]>

>
> why not manage multiple session factories at once. each factory can be
> used within a given Domain Context. Castle has a facility to manage
> this with ISessionManager. If nothing else you can review the code and
> build your own.


uNhAddIns has ISessionFactoryProvider since the responsibility of a class
should be provide a session-factory and not manage a session.
ISessionFactoryProvider has 2 implementations : one for single
session-factory and other for multiple-session-factories.

btw the problem our friend is trying to solve is the session-factory memory
 footprint so he want only one "little" live session-factory at time (and
not more than one alive).
-- 
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