On Wed, 10 Jul 2002, Durham David Cntr 805CSS/SCBE wrote:

> Date: Wed, 10 Jul 2002 14:34:45 -0500
> From: Durham David Cntr 805CSS/SCBE <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: RE: Context lifecycle Listener configuration
>
> How do you know if it's on start on destroy?  Methods in the interface?
>

The LifecycleEvent that is passed in has a "type" property.  Standard
string constants for these events include Lifecycle.START_EVENT and
Lifecycle.STOP_EVENT.

Craig


> -----Original Message-----
> From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 10, 2002 2:32 PM
> To: Tomcat Users List
> Subject: RE: Context lifecycle Listener configuration
>
>
> Howdy,
> There is no ....  Just create a class that implements the lifecycle
> listener interface, and put <listener className="your.class.name" /> in
> the deployment descriptors.  C'est tout.
>
> Yoav Shapira
> Millennium ChemInformatics
>
>
> >-----Original Message-----
> >From: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]]
> >Sent: Wednesday, July 10, 2002 3:21 PM
> >To: [EMAIL PROTECTED]
> >Subject: Context lifecycle Listener configuration
> >
> >Can anyone tell me the syntax for adding an on-start listener to a
> context
> >in tomcat 4
> >
> >The manual doesn't have much on it other than <Listener
> >className="blah.blah" .../>
> >
> >What's the ...
> >
> >
> >Thanks,
> >
> >Dave
> >
> >--
> >To unsubscribe, e-mail:   <mailto:tomcat-user-
> >[EMAIL PROTECTED]>
> >For additional commands, e-mail: <mailto:tomcat-user-
> >[EMAIL PROTECTED]>
>
>
> --
> 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]>
>
>


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

Reply via email to