Re: Configuring interceptors, the other way around, is that possible?

2009-04-13 Thread Ryan Svihla
The only way I could see to accomplish your goal, is to implement an outside IModeInterceptorsSelector that used xml to match what your interceptors should apply to. I wager this would not be appropriate performance wise for some workloads unless you add some form of caching of the match list.

Mixing external configuration with programatic registration

2009-04-13 Thread Germán Schuager
Hi, I'm using the fluent registration feature to scan several assemblies and register all the components that my application needs into the container. Now I'd like to specify in the configuration file some parameters values that needs to be injected into some components, is this possible?

Re: Mixing external configuration with programatic registration

2009-04-13 Thread Ayende Rahien
yes On Mon, Apr 13, 2009 at 6:15 PM, Germán Schuager gschua...@gmail.comwrote: Hi, I'm using the fluent registration feature to scan several assemblies and register all the components that my application needs into the container. Now I'd like to specify in the configuration file some

Re: Mixing external configuration with programatic registration

2009-04-13 Thread Germán Schuager
How? On Mon, Apr 13, 2009 at 12:28 PM, Ayende Rahien aye...@ayende.com wrote: yes On Mon, Apr 13, 2009 at 6:15 PM, Germán Schuager gschua...@gmail.comwrote: Hi, I'm using the fluent registration feature to scan several assemblies and register all the components that my application needs

Re: Mixing external configuration with programatic registration

2009-04-13 Thread Ayende Rahien
http://ayende.com/Blog/archive/2008/12/31/didja-know-merging-windsor-configuration-with-automatic-registration.aspx On Mon, Apr 13, 2009 at 6:30 PM, Germán Schuager gschua...@gmail.comwrote: How? On Mon, Apr 13, 2009 at 12:28 PM, Ayende Rahien aye...@ayende.com wrote: yes On Mon, Apr

Re: Mixing external configuration with programatic registration

2009-04-13 Thread Germán Schuager
Thank you very much. On Mon, Apr 13, 2009 at 12:33 PM, Ayende Rahien aye...@ayende.com wrote: http://ayende.com/Blog/archive/2008/12/31/didja-know-merging-windsor-configuration-with-automatic-registration.aspx On Mon, Apr 13, 2009 at 6:30 PM, Germán Schuager gschua...@gmail.comwrote: How?

Re: Mixing external configuration with programatic registration

2009-04-13 Thread kurtharriger
One thing to note however is that many facilities expect to be registered before any components are registered (such as startable) or they wont work properly and others such as NHibernate facility need to read from the configuration when registered. See my tests in previous post here