velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabriel Sidler <sid...@teamup.com>
Subject Re: [VELTOOLS] Why isn't ServletToolboxManager a singleton class ?
Date Thu, 09 Jan 2003 16:09:47 GMT
Claude Brisson wrote:

> If using several VelocityViewServlet servlets (for instance one that requires authentification,
one that doesn't), tools are initialized for each servlet, although application/session scoped
tools should be shared.
> 
> To allow several VVS to share their ToolboxManager, we would need the ServletToolboxManager
class to be a singleton.
> 
> If veltools developers agree, I submit such a patch.


Yes, that would be nice. Does anyone see drawbacks to sharing tools between
VV Servlet? I don't.

Gabe




-- 
--
Gabriel Sidler
Software Engineer, Eivycom GmbH, Zurich, Switzerland


--
To unsubscribe, e-mail:   <mailto:velocity-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-dev-help@jakarta.apache.org>


Mime
View raw message