See also http://forum.castleproject.org/viewtopic.php?t=2808, it's 3 years
old but still valid.
In a nutshell, are you sure you want to replace the default dependency
resolver, and not register a sub dependency resolver, or replace some other
subsystem, like the naming system?

--
Mauricio



On Wed, Oct 27, 2010 at 8:58 AM, Luis Abreu <[email protected]> wrote:

> ok. thanks!
>
> 2010/10/27 Krzysztof Koźmic <[email protected]>:
> > yeah, you are correct. This was fixed after 2.5.1, so it is only
> available
> > in daily builds now and will be part of 2.5.2
> >
> > Sorry for the inconvenience.
> >
> > 2010/10/27 Luis Abreu <[email protected]>
> >>
> >> sorry for bothering again, but it seems like it was not implemented in
> >> the latest release. I've noticed I should read the breakingchanges.txt
> >> file, but i'm not sure on what I should look for...
> >>
> >> 2010/10/27 Krzysztof Koźmic <[email protected]>:
> >> > http://issues.castleproject.org/issue/IOC-228
> >> >
> >> >
> >> > 2010/10/27 Luis Abreu <[email protected]>
> >> >>
> >> >> Hello guys.
> >> >>
> >> >> Stupid question: how can one replace the DefaultDependencyResolver
> >> >> with a custom one?
> >> >>
> >> >> DefaultDependencyResolver does almost everything I want. Fortunately,
> >> >> I can get the behaviour I'm after by just overriding a method. Now,
> >> >> the problem is that DefaultDepencyResolver expects an IKernel
> >> >> reference. That means I can't instantiate it like this:
> >> >>
> >> >>  _container = new WindsorContainer(
> >> >>                new DefaultKernel( new
> >> >> PropagationDependencyResolver( *****oooopss: needs IKerner*** ),
> >> >>                                            new
> >> >> NotSupportedProxyFactory() ),
> >> >>                new DefaultComponentInstaller() );
> >> >>
> >> >> Now, as you can see, this looks like one of those chicken-eggs
> >> >> problem...
> >> >>
> >> >> I hope that the solution isn't creating my own IDependencyResolver...
> >> >>
> >> >> thanks guys.
> >> >>
> >> >> Luis
> >> >>
> >> >> --
> >> >> 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]<castle-project-users%[email protected]>
> .
> >> > For more options, visit this group at
> >> > http://groups.google.com/group/castle-project-users?hl=en.
> >> >
> >>
> >>
> >>
> >> --
> >> Regards,
> >> Luis Abreu
> >>
> >> --
> >> 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]<castle-project-users%[email protected]>
> .
> > For more options, visit this group at
> > http://groups.google.com/group/castle-project-users?hl=en.
> >
>
>
>
> --
> Regards,
> Luis Abreu
>
> --
> 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