I have a similar question. How can an application shut itself down?
On Sun, 2002-02-24 at 15:11, Stephen McConnell wrote:
>
>
> > -----Original Message-----
> > From: Emperor [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, 24 February, 2002 20:58
> > To: [EMAIL PROTECTED]
> > Subject: shutdown phoenix gracefully
> >
> >
> >
> > Steve: thx for your very very useful posts!
>
> No problem. But I think I'm going to let you down on the question
> concerning phoenix shutdown.
>
> > And now another question. How can I shutdown phoenix from within a
> > block?
>
> Not possible (but read on).
>
> > How do I get the embeddor instance I need to shutdown?
>
> Check out the ApplicationListener. This provides access to SarMetaData
> and related BlockInfo structures. You can do some level of playing around
> here but only at the block and application level. Basically, you only
> have access to the block or application context so your application cannot
> interfere in another applications space.
>
> 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 ?
>
> Cheers, Steve.
>
> > Each time I get deeper involved in avalon I could ask 10 more questions
> > ;)
> >
> > Nils
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
Richard Wallace
AIM, Inc. (www.a--i--m.com)
Information Systems Consultants
"Providing New Technology,
the Old-Fashioned Way"
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>