Has anyone looked into or done anything with a variant of Velocity
that uses IoC pattern to initiatize itself?  I started down my latest
Velocity customization path wanting to add some custom fields to a
Template using a child class.  I already have my custom
resource.loader (2 of them actually), custom parser pool, custom
logger... I can see that I could implement my own custom
ResourceManager (and thus ResourceFactory) to be able to return a
child Template, but I'm just feeling dirty at this point.  Also all of
my custom implementations are instantiated with new MyCustomFooImpl()
rather than being able to hand Velocity an impl with whatever
dependencies I need.

Any thoughts?

-- 
Serge Knystautas
Lokitech >> software . strategy . design >> http://www.lokitech.com
p. 301.656.5501
e. [EMAIL PROTECTED]

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

Reply via email to