Hi Cris,
I don't know Spring's GetObjectsOfType function, but my guess it
that ResolveAll does something like that.

I use it like:

container.ResolveAll<IMessagingEndpoint>().ToList().ForEach(msgHandler =>
msgHandler.Start());

cheers,
Ernst

On Wed, Sep 3, 2008 at 10:57 AM, ChrisW <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> I'm fairly new to Castle having used Spring.Net before.
>
> I like the conciseness of Windor's dependency resolution so am trying
> it out.
>
> Right now I want to configure a list of external plugins. I saw a post
> by Ayende saying Castle could do this but he didn't say how. Is there
> an equivalent of Spring's GetObjectsOfType to return all objects in
> the container that implement an interface?
> >
>

--~--~---------~--~----~------------~-------~--~----~
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