velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Bubna <>
Subject Re: [tools-2.0] How to create HTTP-request-based application-wide tool
Date Wed, 25 Feb 2009 17:29:29 GMT
On Wed, Feb 25, 2009 at 9:23 AM, Antonio Petrelli
<> wrote:
> 2009/2/25 Antonio Petrelli <>:
>> In case of an application-scoped tool, are these methods being called?
> Answer: only once, at creation.
> That's odd, it's an unintended feature?

Sort of.  It is very much intended that application tools are only
configured once.  To simplify the configuration process, all tools are
provided the current context upon configuration, regardless of scope.
This, of course, means that application scoped tools get one shot at
request scoped objects, if they want.  Generally, they don't want it
and should just ignore those config parameters.

> Antonio
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message