Hi all,

I am new to castle so I have a few questions:

1) In my config file can I somehow group the service implementations
for each service?

e.g.
<component
          id="timeService_1" service="SomeService.ITimeService,
SomeService"
          type="SomeService.SomeTimeService, SomeService" />
<component
          id="timeService_2" service="SomeService.ITimeService,
SomeService"
          type="SomeService.AnotherTimeService, SomeService" />
<component
          id="dateService_1" service="SomeService.IDateService,
SomeService"
          type="SomeService.DateService, SomeService" />

Is there any way to define the time services in one place and the date
services in another (so not all mixed up in the components element

2) What does the method GetService do on the IWindsorContainer?

3) in the example above, Is there any way to get the date service to
somehow get a reference to the time services? I would like to have
access to all of them and access them through their id. Something like
someCollection["timeService_1"] to get the time service object.
However, I dont want to restrict the service to be using the castle
container.

Thanks in advance.

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