Thanks!
I ended up with this (should anyone else ever google this).
public void LogComponentsInContainer(IWindosrContainer container)
{
INamingSubSystem naming =
container.Kernel.GetSubSystem(SubSystemConstants.NamingKey) as
INamingSubSystem;
foreach (var handler in naming.GetHandlers())
{
Log.Debug("Registered on IoC: {0}, {1}, {2}",
handler.ComponentModel.Name,
handler.Service.FullName,
handler.ComponentModel.Implementation.FullName);
}
}
-jt
On Sep 30, 2:59 pm, hammett <hamm...@gmail.com> wrote:
> Yeah. You can either enumerate the handlers or use the naming service subsystem.
> On Tue, Sep 30, 2008 at 2:20 PM, James Thigpen
> <James.R.Thig...@gmail.com> wrote:
> > Is it possible to enumerate all the components (id, interface, type)
> > registered in Windsor? It's just for debugging.
> > Thanks,
> > -jt
> --
> Cheers,
> hammetthttp://hammett.castleproject.org/