Niclas Hedhman wrote:
On Tuesday 18 May 2004 03:07, Nader Aeinehchi wrote:


With Merlin as the top-most container, you would want to call System.exit.
With Merlin as the embedded container, you would want to either shutdown
Merlin or send a signal to the top-most container about the desire of
shutting down the system.  In the latter, the top-most container will
decide whether to shutdown or not.


AFAIK, Merlin never calls System.exit(), but I could be wrong.

There is one place inside the CLI handler (and the only place) that traps an exception and invokes System.exit( -1 ) simply to ensure that the exit flag is set to indicate that the cli process has terminated in a non-normal fashion.


Normal exit is does occurs following the invocation of shutdown() on the Kernel interface.

Cheers, Steve.

--

|---------------------------------------|
| Magic by Merlin                       |
| Production by Avalon                  |
|                                       |
| http://avalon.apache.org              |
|---------------------------------------|

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



Reply via email to