Hi,

I'm looking into Merlin to see whether it's usably for us. The following scenario:

- A component "scheduler" that provides a service to schedule tasks
- A component "hello" that schedules a task to log the string "Hello World!". This component depends on a service that implements the interface Scheduler.


I made a root block that includes two hello blocks and a scheduler block. The root block exports the service from the scheduler block. This works fine, the two hello components schedule their tasks.

But now there might be more than one scheduler, e.g. one that doesn't schedule tasks by time but rather by some event. I'd like to do the following wiring:

hello1 -> time-scheduler
hello2 -> event-scheduler

Both *-scheduler components implement the same interface. How can this be done, preferably without touching the block.xml files of the hello components?

TIA,
   Raffi

--
Neu im Usenet? Fragen? -> http://www.use-net.ch/usenet_intro_de.html

Raffael Herzog - [EMAIL PROTECTED] - www.raffael.ch - ICQ #67961355


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to