I've had a better look at DefaultContext, it appears to do what I want -
i.e.
give me the ability to define InstanceListener once that will be applied
for all contexts within a given host.

Now I need to find out how to define a DefaultContext ;-)

-Thom


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Glenn Nielsen
Sent: Tuesday, July 10, 2001 6:16 AM
To: [EMAIL PROTECTED]
Subject: Re: InstanceListener syntax?


Remy Maucherat wrote:
>
> > Hi folks,
> >
> > can someone give me the definitive syntax for the InstanceListener?
> > Also, is it possible to setup an Engine (or Host) level InstanceListener
> > that would get applied to all context's within said Engine or Host?
> >
> > Having to add a InstanceListener to every context just to get the old
> > tomcat 3.2 pre/post Lifecycle event (Init,service,destroy) support is a
> > bit onerous.
>
> Glenn, would the default context help here ?
>
> Remy

Its in the code for DefaultContext, but I don't know if it has been tested.

Glenn

----------------------------------------------------------------------
Glenn Nielsen             [EMAIL PROTECTED] | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------

Reply via email to