Monday, December 15, 2003, 2:00:11 PM, Leo Simons wrote:

> Daniel Dekany wrote:
[snip]
> = what about Releaseable, ReleaseRequired, ReleaseUtil? =
>
> Been there, done that, won't work. Marking components as releasable will
> just mean you'll be checking whether they're marked as such, which is 
> just as ugly.
[snip]

Note that I have recommended something different. I said that the
component returned for certain Roles are always must be "explicitly
released" (and, only allowed to be looked up with
ServiceManager.lookupAndHold), while others don't even allow explicit
releasing (and ServiceManager.lookupAndHold). The client code will never
check any markers. It's just known by the programmer, who writes the
client code, that this and that Role uses explicit releasing.

Anyway, I think it was clean, so I stop mentioning it...

-- 
Best regards,
 Daniel Dekany



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

Reply via email to