Good time, devs. Sorry for this message, but I will try to retry or rewrite something.
Carsten Ziegeler <[EMAIL PROTECTED]> (S&N AG): >>(List)ServiceManager.lookupAll(Filter.class).iterator; > Hmm, yes, although it might be that this is against one of the > basic design principles of Avalon: security. For this reason I provide solution: Collectable interface. But answers of Niclas Hedhman and Berin Loritsch move me to nowhere. I don't see any other solution with IoC template for such task (lookup collection) and cann't see any security problem in provioded solution. Security: If component know Interface (Key) for one class, it can resolve it. If component know subinterface of Collectable, it can resolve all components, that implement such interface (not only Collectable, but subinterface of Collectable). Is there any security problem? -- Best regards, Sergey mailto:[EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]