Class ProxyVMContext

All Implemented Interfaces:
Context, InternalContextAdapter, InternalEventContext, InternalWrapperContext

public class ProxyVMContext extends ChainedInternalContextAdapter
Context for Velocity macro arguments. This special context combines ideas of earlier VMContext and VMProxyArgs by implementing routing functionality internally. This significantly reduces memory allocation upon macro invocations. Since the macro AST is now shared and RuntimeMacro directive is used, the earlier implementation of precalculating VMProxyArgs would not work. See Issue 607 for more info on this class.
Since:
1.6
Version:
$Id$
Author:
Jarkko Viinamaki