On Sat, 2002-10-19 at 10:43, Otto Cordero wrote:
> Hi,
> I want to know if there is some way to override of the init() or destroy()
> servlet methods when using Turbine. My first guess was to extend the Turbine
> servlet, but it is a final class.
> What I want to do is to create heavy objects in the init method.. in case it
> is not possible to access this method, what other option is available in the
> Turbine framework to manage instances of heavy objects?.

The 'final' was added to prevent what you just tried to do. The Turbine
servlet probably never needs to be modified itself. If you want to
manage instances of heavy objects than make your tool and wrap it in a
service. You certainly don't want to put any of your application logic
in Turbine's init() method.
 
> Otto.
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:turbine-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:turbine-user-help@;jakarta.apache.org>
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


--
To unsubscribe, e-mail:   <mailto:turbine-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-user-help@;jakarta.apache.org>

Reply via email to