On Wednesday 27 October 2004 02:35, Igor A. Deruga wrote:
> Evidently, serviceManager substitutes SocketManager with some class that
> implements SocketManager interface and returns this class' instance. But I
> can´t find where it is written which class to take instead.

What Steve forget to mention is that you somewhere in a block has a 
declaration of an implementation of the SocketManager.

<component name="standard-socket-manager" 
class="org.apache.avalon.cornerstone.blocks.sockets.DefaultSocketManager" />

And Merlin will check the services that this class exports and automagically 
tie it to your dependency. That is called automatic dependency resolution.

You can also hardwire the dependency yourself in the blocks.

Cheers
Niclas
-- 
   +------//-------------------+
  / http://www.bali.ac        /
 / http://niclas.hedhman.org / 
+------//-------------------+


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

Reply via email to