On Saturday 10 April 2004 00:24, Stephen McConnell wrote: > Secondly - concerning dynamic lookup I think we should be following > something closer to the approach suggested by Bruno Dumon - ie.: > > /** > * @avalon.dependency type="Locator" key="locator" > */ > public void service( ServiceManager manager ) > { > // get the ref widget > Locator locator = (Locator) manager.lookup( "locator" ); > Widget redWidget = locator.locate( Widget.class, m_map ); > }
Carsten, I agree with the above, but I am not sure what concern you are really trying to address. I could use some more elaboration. Niclas -- +---------//-------------------+ | http://www.bali.ac | | http://niclas.hedhman.org | +------//----------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]