RES: Destroy Of Interceptor

2007-12-17 Thread Décio Heinzelmann Luckow
Cool,

Can I collaborate with struts and do this correction?

I was reading the page 'http://struts.apache.org/dev/builds.html' to get the
information about struts subversion repository.

Could I send the correction by some way? Sure, I don´t have the write
permission.

How can I procede?


Decio Heinzelmann Luckow

 
-Mensagem original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Ted Husted
Enviada em: domingo, 16 de dezembro de 2007 08:27
Para: Struts Developers List
Assunto: Re: Destroy Of Interceptor

+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]


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



Re: RES: Destroy Of Interceptor

2007-12-17 Thread Dave Newton
--- Décio Heinzelmann Luckow [EMAIL PROTECTED] wrote:
 How can I procede?

Patches can always be attached to JIRA tickets.

d.


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



Re: Destroy Of Interceptor

2007-12-16 Thread Ted Husted
+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]



Re: [struts-dev] Destroy Of Interceptor

2007-12-15 Thread Dale Newfield

Tom Schneider 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.


This might be why undeploying a struts webapp tends to fail (the struts 
core and plugin jars can't be removed because they're still in use).


-Dale

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



Destroy Of Interceptor

2007-12-14 Thread Décio Heinzelmann Luckow
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]



Re: Destroy Of Interceptor

2007-12-14 Thread Tom Schneider

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]