On Mon, 25 Feb 2002 21:00, Paul Hammant wrote:
> Peter,
>
> >>There is some JMX management stuff that I honestly don't know much about
> >>(don't even know if its working or not). In principal it would provide
> >>management access to Phoenix.  Personally I would like to see a pluggable
> >>controller so I can do things like remote CORBA based start-up/shutdown.
> >>Umm, Pete .. we spoke about something like this a couple of months back.
> >>Maybe its time to put it in place ?
> >
> >Maybe. It may be that the best thing to do for the moment is to add a
> >
> >void requestShutdown()
>
> +1
>
> Could we have some params for that?
>
>     Immediately | Delayed | Server App Only 

I see no need for delayed but Immediate + Server App Only == requestShutdown()


> All Server Apps

-1 One app should not be able to effect another app except via a management 
interface.

> Also should it throw ShutdownVetoedException ? Should we have a segment
> in environment.xml to indicate whether a server app plans to and is
> allowed to use requestShutdown()?

That may be an idea. Though it may be best to declare that the block is 
capable of calling requestShutdown(). I have contemplated having a similar 
thing for other services on BlockContext. 

For instance if no Block in application ever calls getBaseDirectory() then 
there is no need to install it to a directory.

-- 
Cheers,

Pete

------------------------------
Kitsch never goes out of style
------------------------------

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

Reply via email to