> The contract is that the last listener put in is the
> listener used.
Uh huh. Is it possible for more than one independent component to want to
register a listener?
> well, my line of thought is that anyone who will call addListener for a
> second time will have knowledge of whether a listener was already added
Why do you assume that? This is a public API in a component architecture.
> it'll stink (in public API terms, the behaviour is unspecified), but it
> should also not happen.
I agree with the former. And do you want to know how many times
"impossible" exceptions are thrown? :-)
> And here we have the implicit assumption that a logkit-using environment
> will follow IoC patterns properly. Is that a bad assumption?
Why make any assumptions? Assumptions are the mother of all ____-ups.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]