tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thom Park <tp...@borland.com>
Subject RE: InstanceListener syntax?
Date Tue, 10 Jul 2001 15:57:30 GMT
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: glenn@zathras.earthdome.org [mailto:glenn@zathras.earthdome.org]On
Behalf Of Glenn Nielsen
Sent: Tuesday, July 10, 2001 6:16 AM
To: tomcat-dev@jakarta.apache.org
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             glenn@more.net | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------


Mime
View raw message