Every application knows when and how it should exit. Are you
saying that a shutdown request should only come from an entity
external to the system? That doesn't make much sense to me.

The only approach for now is just to kill the process?

How can components, if not the whole system, be shut down on
demand? That is, it might at least be an option for us to
shutdown all application components, and then kill the
process... nasty, but if there are no other options...

Justin

---- Original message ----
>Date: Sun, 16 May 2004 21:36:34 +0200
>From: Stephen McConnell <[EMAIL PROTECTED]>  
>Subject: Re: How do I shut down Merlin from within a component?  
>To: Avalon framework users <[EMAIL PROTECTED]>
>
>Scott Brickner wrote:
>> If a component determines that the application should end,
how does it
>> tell Merlin to shut down all of the components and exit?
>
>Currently your cannot (unless you do something really *nasty*
like 
>System.exit).  Thing is a component is not in control and
should not be 
>making these sort of assumptions.  On the other-hand  - a
facility could 
>be provided with such a option in the future - however keep
in mind that 
>  this would probably be matched with the ability for another
facility 
>to veto a shutdown.
>
>Stephen.
>
>-- 
>
>|---------------------------------------|
>| Magic by Merlin                       |
>| Production by Avalon                  |
>|                                       |
>| http://avalon.apache.org              |
>|---------------------------------------|
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>

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

Reply via email to