I created a simple AuditInterceptor: EmptyInterceptor now I wonder how can I register this new interceptor with my application using Windsor?
+1
A:
Use the NHibernate facility, then register a Castle.Facilities.NHibernateIntegration.IConfigurationContributor
implementation that adds your interceptor to the NHibernate.Cfg.Configuration
instance (by calling SetInterceptor()
)
Mauricio Scheffer
2009-08-24 16:27:42
thanks @mausch do you know is it possible to register using windsor.boo?
c.sokun
2009-08-25 02:03:02
I don't think so...
Mauricio Scheffer
2009-08-26 15:17:51