DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32770>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32770





------- Additional Comments From [EMAIL PROTECTED]  2004-12-19 22:30 -------
Created an attachment (id=13786)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=13786&action=view)
Standalone Toolbox Loader Proposal

Apply it on org.apache.velocity.tools.

In order to work the engine runtime property "standalone.toolbox.path" must
return the path to the file with toolbox.xml format.  The toolbox.xml format is
slightly modified to accept singleton lifecycle for tools.

Usage:
// Velocity Singleton model
VelocityContext ctx = new StandaloneContext() ;

// Velocity separate instance
VelocityEngine engine = new VelocityEngine();
engine.addProperty(StandaloneContext.PATH_KEY, "path");
engine.init();
StandaloneContext ctx = new StandaloneContext() ;
ctx.setToolbox(StandaloneToolboxManager.getToolbox(engine)); 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to