通过温莎注册定制NHibernate拦截器

通过温莎注册定制NHibernate拦截器,nhibernate,castle-windsor,iinterceptor,Nhibernate,Castle Windsor,Iinterceptor,我创建了一个简单的侦听器:EmptyInterceptor现在我想知道如何使用Windsor在我的应用程序中注册这个新的侦听器?使用NHibernate工具,然后注册一个Castle.Facilities.NHibernateIntegration.IConfigurationContributor实现,该实现将拦截器添加到NHibernate.Cfg.Configuration实例(通过调用SetInterceptor())谢谢@mausch您知道可以使用windsor.boo注册吗?

我创建了一个简单的侦听器:EmptyInterceptor现在我想知道如何使用Windsor在我的应用程序中注册这个新的侦听器?

使用NHibernate工具,然后注册一个
Castle.Facilities.NHibernateIntegration.IConfigurationContributor
实现,该实现将拦截器添加到
NHibernate.Cfg.Configuration
实例(通过调用
SetInterceptor()

谢谢@mausch您知道可以使用windsor.boo注册吗?