views:

300

answers:

1

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
thanks @mausch do you know is it possible to register using windsor.boo?
c.sokun
I don't think so...
Mauricio Scheffer