You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by mailmur <ma...@yahoo.com> on 2003/05/23 08:57:45 UTC

VelocityContext and private Map instance?

If I want to add "context.clear()" method to release
all name-value pairs in a context, I must copypaste
code from VelocityContext sourcecode. Reason is
"private Map context" member variable. Anything else
should be work as is.

This would be essential if context instances are
pooled (ofc used by single thread at time). 

Am I right about the implementation detail, that I
have to copypaste entire VelocityContext.java code and
then add clear() method on it?

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

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