You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Anton Tagunov <at...@mail.cnt.ru> on 2003/06/13 10:02:10 UTC

[Conceptual] CommandFailureHandler.handleCommandFailure returning a value

Hello, Berin and all!

CommandFailureHandler.handleCommandFailure returns a boolean.
This makes me feel a bit uneasy:

what if it returns true?

This won't stop the system from running it will
just kill the CommandManager.

In fact I can imagine that the user supplied
CommandFailureHandler will decide to shutdown
the whole system. But then it will do something
else - call a global shutdown method or something.

But just rendering one of the system components
inoperative - the thread manager seems strange,
does not it?

So the proposal is to remove the return value from
the handleCommandFailure() method.

Thoughts?

- Anton


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org