Hi Ruben,

I don't know why exactly.
My guess is that we can use spring configuration to invoke initialize() and 
destroy() of the valve bean for the purpose, so it hasn't be regarded as 
necessary.
Currently a valve's life cycle is managed by spring bean factory, not by 
pipeline.
If we add destroy() method in Valve interface, then we need to make Pipeline 
invoke the lifecycle methods of Valve. It is meaningful in a sense, but I 
cannot find any pragmatic benefit now.

Regards.

Woonsan

--- On Tue, 5/5/09, Ruben de Gooijer <[email protected]> wrote:

> From: Ruben de Gooijer <[email protected]>
> Subject: Valve
> To: [email protected]
> Date: Tuesday, May 5, 2009, 11:18 PM
> Hi all,
> 
> Can someone explain to me why the Valve interface has an
> initialize method
> but no destroy method?
> 
> Thanks!
> 
> Kind regards,
> Ruben


      

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to