hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor A. Deruga" <>
Subject Registry.getService VS ServiceManager.lookup
Date Thu, 11 Nov 2004 08:55:05 GMT
Good *, dear fellow programmers!

As far as I know, avalon's ServiceManager.lookup method returns an instance of 
some class. When I invoke it for the second time, it returns me the SAME 
instance. How do I get this result with Registry class implemented in 
HiveMind? Registry.getService(Class cls) returns me the knew instance every 
time. I can write a wrapper with Map, but I think there should be a way... 
Maybe, I'm wrong in some point?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message