lfaldanam / sharp-architecture

Automatically exported from code.google.com/p/sharp-architecture
Other
0 stars 0 forks source link

Add IInterceptors support #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
http://groups.google.com/group/sharp-
architecture/browse_thread/thread/717b3fa83d30446d?hl=en

Original issue reported on code.google.com by wmccaffe...@gmail.com on 2 Sep 2008 at 8:10

GoogleCodeExporter commented 9 years ago
As already mentioned in the discussion, Listeners are NHibernate configuration 
stuff
and thus should not need any change in ProjectBase. Renaming the issue could 
help to
avoid confusion.

Original comment by ath...@gmail.com on 5 Sep 2008 at 4:51

GoogleCodeExporter commented 9 years ago
It seems like NHibernate.Burrow has an idea on solving this: 
http://nhcontrib.svn.sourceforge.net/viewvc/nhcontrib/trunk/src/NHibernate.Burro
w/src
/NHibernate.Burrow/Impl/PersistenceUnit.cs?view=markup

Original comment by ath...@gmail.com on 9 Sep 2008 at 11:43

GoogleCodeExporter commented 9 years ago
As athmer mentioned, the forum discussion provides a resolution for this.  But 
it 
doesn't provide an unmodified solution for intercepters as well.  That will 
require 
a SharpArch library change.

Original comment by wmccaffe...@gmail.com on 20 Nov 2008 at 11:19

GoogleCodeExporter commented 9 years ago
As athmer mentioned, the forum discussion provides a resolution for this.  But 
it 
doesn't provide an unmodified solution for intercepters as well.  That will 
require 
a SharpArch library change.

Original comment by wmccaffe...@gmail.com on 20 Nov 2008 at 11:22

GoogleCodeExporter commented 9 years ago
I wan't to upvote the solution of this issue as it is also a possible solution 
for
issue 21. With IInterceptor.Instantiate you could instantiate your models using
NInject, i think.

Original comment by j...@jfritsch.de on 22 Nov 2008 at 12:57

GoogleCodeExporter commented 9 years ago
Added a RegisterInterceptor to SharpArch.Data/NHibernate/NHibernateSession.cs

Original comment by wmccaffe...@gmail.com on 13 Jan 2009 at 5:33