You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by bu...@apache.org on 2004/04/27 20:46:10 UTC

DO NOT REPLY [Bug 28611] - Create a DataSourceResourceLoader that can be wired to the datasource with IoC

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=28611>.
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=28611

Create a DataSourceResourceLoader that can be wired to the datasource with IoC





------- Additional Comments From wglass@forio.com  2004-04-27 18:46 -------
Matt,

I'm not a Spring user (not yet), so you'll have to advise me on this... how 
should the new DataSourceResourceLoader be configurable  in order to be 
compatible with Spring.

options...
(a) pass in the datasource name and other params in a constructor
(b) use standard javabean setters and getters (setDatasourceName, etc)
(c) pass in a properties object with the various params.

Alternately, if you've already built a custom resource loader that does that, 
perhaps you could just attach it.

WILL

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