On Wed, 5 Mar 2003 23:23, Schaible, J�rg wrote: > 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?
thats generally the advice. Then all service management is done in one place. > Which leeds to another question, because I thought thast the contract > around ServiceManager is, that every element retrieved with lookup should > be released again. Well, the AbstractContainer implementation never > releases its services. Design flaw? You will find that 99% of the components in Avalon land never touch release(). release(0 was an ugly put in place to enable pooling of components and should only be used in environments where it makes sense (Personally I have never used it nor had the need to). -- Cheers, Peter Donald -------------------------------------------------- The fact that nobody understands you doesn't mean you're an artist. -------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
