+1

I haven't traced the code, but I believe we redeploy the Interceptors
in dev mode, making a destroy option more important.

On Dec 14, 2007 7:46 PM, Tom Schneider <[EMAIL PROTECTED]> wrote:
>
> You know, I think you're right!  I searched the entire codebase (both xwork
> and struts) and I have found nowhere where we call destroy() on the
> interceptors.  I guess that hasn't been an issue because if the destroy
> isn't being called, no big deal because your usually shutting down anyway.
>
> If we were to call destroy on the interceptors, I would expect it to happen
> in the cleanup() method of Dispatcher.  This is where all the rest of the
> cleanup happens.  At runtime, the list of interceptors is stored in the
> ActionConfig object.  (part of xwork)  Perhaps it might be a good idea to
> submit a patch that fixes this issue. :) (hint, hint)
> Tom
>
>
> Décio Heinzelmann Luckow wrote:
> >
> > Hi All,
> >
> > I´m studing Interceptors and I was looking for the local where Struts call
> > the destroy() method of Interceptor.
> >
> > The init() method is called at the same time of construction of
> > Interceptor,
> > but I can´t find where the destroy is called.
> >
> > Someone know where its happen?
> >
> > Tanks!
> >
> > Décio Heinzelmann Luckow
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/Destroy-Of-Interceptor-tp14338766p14339890.html
> Sent from the Struts - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
HTH, Ted
 * <http://www.StrutsMentor.com/>

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

Reply via email to