Ah so you're registering it AFTER the components. That makes sense.

Actually I'd suggest adding a CM creation contributor http://stw.castleproject.org/Windsor.ComponentModel-construction-contributors.ashx for this
first and after that register your components from the XML.

Krzysztof

On 7/07/2010 10:31 PM, joniba wrote:
Yes, right after creating the container (from an xml file), before any
resolve calls are made.

On Jul 4, 6:17 pm, Mauricio Scheffer<[email protected]>
wrote:
Are you registering this event handler *before* any component registration?

On Sun, Jul 4, 2010 at 11:58 AM, joniba<[email protected]>  wrote:
I'm trying to change the default lifestyle used by the container as
per the post:
http://devlicio.us/blogs/tuna_toksoz/archive/2009/08/06/making-transi...
.
However, the event is not fire and I'm still getting singletons as the
defaults. Does anyone know of a way that works for changing the
default lifestyle?
Thanks
Joni
--
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To post to this group, send email to [email protected]
.
To unsubscribe from this group, send email to
[email protected]<castle-project-users%[email protected]>
.
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en.

--
You received this message because you are subscribed to the Google Groups "Castle 
Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to