velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Bubna" <nat...@esha.com>
Subject Re: [VELTOOLS] Why isn't ServletToolboxManager a singleton class ?
Date Thu, 09 Jan 2003 20:06:03 GMT
Gabe said:
> 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.

hmm.  no, i can't think of any drawbacks offhand.

Nathan Bubna
nathan@esha.com


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