4. Loose Token?

As I see it, it's mainly a matter of

   Token token = resolver.lookup(MY_URI);
   MyComponent mc = (MyComponent) token.reference();
   token.release();

vs.

   MyComponent mc = (MyComponent) resolver.lookup(MY_URI);
   resolver.release(MY_URI, mc);

And the same thing for String[] + Object[]. Which one do you like best?

-- 
Antti Koivunen | "Anrie" [un-ree] <[EMAIL PROTECTED]>
---------------------------------------------------------
The song of life might not be a simple one,
but there's plenty of room for improvisation.
---------------------------------------------------------



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to