On Sun, 24 Nov 2002 01:48, Clemens Marschner wrote:
> How can you shut down the container from within an application? Is that
> possible?

A Block can ask for the current application to shutdown via;

getBlockContext().requestShutdown();


And this will result in phoenix being shutdown if;

* the application is the last application in the kernel
* the flag "persist" has not been set for kernel

-- 
Cheers,

Peter Donald
------------------------------------------------
 "No. Try not. Do. Or do not. There is no try." 
                                     -- Yoda 
------------------------------------------------ 



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

Reply via email to