Schaible, J�rg wrote:
Hello,
looking again into the core interfaces I realized, that I should
retrieve my services in the service() method and not in the initilize()
method. Right?
Not necessarily - the service method is simply the point at which the ServiceManager is supplied to the component. The component implementation can choose to access services at this point, or, cache the reference and access the services it needs when and if it needs them. Both Fortress and Merlin provide support for delayed activation of a service which basically means that although you have been supplied with a manager, the services the manager will provide on lookup may not be instantiated (for example, the instantiation may be trigger by the lookup request).
Cheers, Steve.
--
Stephen J. McConnell mailto:[EMAIL PROTECTED] http://www.osm.net
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
