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 <r.degooi...@onehippo.com> wrote:

> From: Ruben de Gooijer <r.degooi...@onehippo.com>
> Subject: Valve
> To: jetspeed-user@portals.apache.org
> 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: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org

Reply via email to