velocity-user@jakarta.apache.org
[Top] [All Lists]

RE: Re[2]: Custom Resource Loader

Subject: RE: Re[2]: Custom Resource Loader
From: "Tim Colson"
Date: Tue, 14 Dec 2004 16:18:26 -0700
> When you say "ClassLoader" did you mean "ResourceLoader"?
You're correct, I meant ResourceLoader. :-)

Just came up with an idea on how VelocityTools might benefit too... my
Spring config creates some objects which have other objects injected into
them.

For example: a configured DB connection pooler is injected into a DAO
object, a Config object has a DB conn, local, environment, and other
settings injected into it... both of these objects might be useful as
Velocity Tools. They are fully wired up, but I don't know how I'd
declaratively make them available using just the current Toolbox. (i.e.
these aren't just members of a class, they are "configured" objects)  

Timo

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: velocity-user-help@xxxxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>